Re: @property (readonly, retain) ???
Re: @property (readonly, retain) ???
- Subject: Re: @property (readonly, retain) ???
- From: Jake Carter <email@hidden>
- Date: Tue, 6 May 2008 14:23:35 -0700
As far as I understand it, you can omit the 'retain' if your property
is readonly. You are correct that the retain is only for assignments.
"Specifies that retain should be invoked on the object upon assignment."
From:
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_5_section_3.html#/
/apple_ref/doc/uid/TP30001163-CH17-SW2
:// Jake
On May 6, 2008, at 2:14 PM, Optical Ali wrote:
Hi,
What does it mean to to have both readonly and retain in property
declaration?
My understanding is that retain is for assignment.
_______________________________________________
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
_______________________________________________
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