They are added to the objective-c object (which is a C structure), different from the usual ivar, therefore, for example:
@interface TestObject : NSObject { } @property (nonatomic, assign) int theInt; @end @implementation QuartzTestView @synthesize theInt; @end
You can directly access theInt ivar (and not property accessories):
- (void)someMethod { theInt = 5; }
OR
- (void)someOtherMethod { self->theInt = 10; }
source share