Re: Clarification on Associated Objects
Re: Clarification on Associated Objects
- Subject: Re: Clarification on Associated Objects
- From: Dave DeLong <email@hidden>
- Date: Sat, 14 Aug 2010 09:51:47 -0600
Thanks! :)
On Aug 14, 2010, at 9:47 AM, Keary Suska wrote:
> On Aug 13, 2010, at 11:38 PM, Dave DeLong wrote:
>
>> Hi everyone,
>>
>> I'm adding an associated object (an NSMutableArray) to an NSView with a policy of OBJC_ASSOCIATION_RETAIN. If I'm reading the documentation correctly, I don't have to worry about clearing the associated object when the view is deallocated, because it will be taken care of for me, correct? Listing 7-1 on the associated objects page of the Objective-C Programming Language guide seems to indicate that this is the case.
>
> Yes.
>
> Keary Suska
> Esoteritech, Inc.
> "Demystifying technology for your home or business"
>
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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