@interface{}
ヘッダー ファイルの宣言内に変数を配置することと、その宣言の後に変数を配置することの違いは何@property
ですか?
例えば、
@interface GameCenterManager : NSObject
{
GKInvite* pendingInvite;
}
@end
とは対照的に
@interface GameCenterManager : NSObject
@property (weak, nonatomic) GKInvite* pendingInvite
@end