Toru Hosokawa twitter:@anton0825 facebook:toru.hosokawa1 github:hosokawa0825 blog:http://d.hatena.ne.jp/anton0825/ 2014.1.15 CGRectのリテラルの書き方 普通の書き方 CGRect rect1 = CGRectMake(0, 0, 100, 200); こうも書けます {x, y, width, height} CGRect rect2 = {0, 0, 100, 200}; こうも書けます {.origin = {x, y}, .size = {width, height}} CGRect rect3 = {.origin = {0, 0}, .size = {100, 200}}; こうも書けます {.origin = {.x = x, .y = y}, .s