'xxx' used as the name of the previous parameter rather than as part of the selector
xcodeをver4.6にアップデートしたら、以下のようなワーニングが出始めた。
'xxx'の部分はメソッド定義の引数の部分。
どうも引数にちゃんと名前を定義していないと出るようになったらしい。
【ワーニング】
'xxx' used as the name of the previous parameter rather than as part of the selector
例えば以下のようなメソッドがあった場合、
+ (void)hogeWithView:(UIView *)view:(CGSize)size { }
以下のようにsizeに名称を付けてやらないと出てくるようになった
+ (void)hogeWithView:(UIView *)view size:(CGSize)size { }
apple的に付けなさいって事なのか.
他にもなんか出てんだよな〜〜