@interface Hoge : NSObject {}
@end
@implementation Hoge
int x = 0; // こいつはどういう扱いになる?
- (id)init {
self = [super init];
if (self) {
}
return self;
}
@end
More than 5 years have passed since last update.
Objective-Cのクラスの実装のなかで 以下の変数xはどういう扱いになるんでしょうか...
Last updated at Posted at 2012-03-16
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme