3 ms·
> You only need to synthesize when you access the variable > directly. You don't. @property will take care about creating ivars. So with @property (strong, n
by rimantas 14y ago
> You only need to synthesize when you access the variable
> directly.
You don't. @property will take care about creating ivars. So with @property (strong, nonatomic) NSString *foo you get _foo and accessors.
The only place I need @synthesize is in NSManagedObject subclasses.
- hboon 14y agoAh. I stand corrected. I @synthesize because I always want foo and not _foo.