• 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: Accessors Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessors Question


  • Subject: Re: Accessors Question
  • From: mmalc crawford <email@hidden>
  • Date: Thu, 12 Jun 2008 13:17:59 -0700


On Jun 12, 2008, at 12:20 PM, Jeff LaMarche wrote:

Out of curiosity, does anyone know what the synthesized accessors look like when you specify retain? Are they
'
The retain/autorelease policy is dictated by the atomicity of the property.
By default, object properties are returned with retain/autorelease; if you specify 'nonatomic' then they're simply returned.
<http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_5_section_3.html#//apple_ref/doc/uid/TP30001163-CH17-SW2 >


For a discussion of other aspects of accessor methods, see
	<http://www.stepwise.com/Articles/Technical/2002-06-11.01.html>
(although some of that is now out-of-date).

mmalc

_______________________________________________

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: 
 >Accessors Question (From: Jeff LaMarche <email@hidden>)
 >Re: Accessors Question (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Accessors Question (From: Andy Lee <email@hidden>)
 >Re: Accessors Question (From: Jens Alfke <email@hidden>)
 >Re: Accessors Question (From: Tito Ciuro <email@hidden>)
 >Re: Accessors Question (From: Jeff LaMarche <email@hidden>)

  • Prev by Date: Re: Identical events on multiple calendars
  • Next by Date: Re: Troubles with CollectionView and IKImageBrowserView
  • Previous by thread: Re: Accessors Question
  • Next by thread: Re: Accessors Question
  • Index(es):
    • Date
    • Thread