• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: @property and automatic synthesis of getters and setters.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >@property and automatic synthesis of getters and setters. (From: Peter Teeson <email@hidden>)

  • Prev by Date: @property and automatic synthesis of getters and setters.
  • Next by Date: Re: @property and automatic synthesis of getters and setters.
  • Previous by thread: @property and automatic synthesis of getters and setters.
  • Next by thread: Re: @property and automatic synthesis of getters and setters.
  • Index(es):
    • Date
    • Thread