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 (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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to