As far as I know, since XCode 4.4 the @synthesize
will auto-generate the property accessors. But just now I have read a sample of code about NSUndoManage
Xcode doesn't require an explicit @synthesize
declaration.
If you don't write @synthesize
its the same as doing :
@synthesize manager = _manager;
The sample code might've been old. They'll update it soon.
You can access your properties like :
[self.manager function];
This is Apple's recommended convention. I follow it, and I recommend that you do too!