When you access instance variables in your methods, the code is equivalent to addressing them through a self-pointer:
- (void)method {
iVar = 1;
self->iVar = 1;
}
, - self- , ivars init, , . :
@implementation TestObj {
int a;
}
- (id) init {
self = [super init];
self = nil;
a = 1;
return self;
}
@end
, [super init] - , , - , .