On Mar 17, 2012, at 6:34 PM, Roland King wrote: > This leads to my last pet peeve which is that I think property syntax should > have always been > > @property( readwrite, weak, ivar=_foo) Foo *foo; > > where the underlying ivar for the property, if there is one, is declared as > part of the property declaration instead of split into the synthesize > directive, but that ship I suspect has sailed a long time ago.
The @property/@synthesize split tries to separate public interface from private implementation details. That's why the ivar is not in the @property. If you have the Xcode 4.4 developer prerelease, the new synthesize-by-default feature may be close to what you want. -- Greg Parker gpar...@apple.com Runtime Wrangler _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com