日々精進

新しく学んだことを書き留めていきます

2012-06-11から1日間の記事一覧

カテゴリにインスタンス変数は定義できない

以下のようなコードはコンパイルエラーになる。 @interface FlipLabel (CustomMethod) @end @implementation FlipLabel (CustomMethod){ NSString *name; } @end synthesizeも使えない。 >|objc|@interface FlipLabel (CustomMethod) @property NSString *na…