Re: @property and automatic synthesis of getters and setters.
Re: @property and automatic synthesis of getters and setters.
- Subject: Re: @property and automatic synthesis of getters and setters.
- From: David Duncan <email@hidden>
- Date: Thu, 12 Sep 2013 14:49:49 -0700
On Sep 12, 2013, at 2:45 PM, Peter Teeson <email@hidden> wrote:
> What is my lack of understanding? Why am I not allowed to use the getter protoCell as indicated in the documentation?
Autosynthesis back @property foo with ivar _foo. Thats why using the underscore works. This is explicitly different from explicit synthesis.
--
David Duncan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden