Re: resetting ivars safely
Re: resetting ivars safely
- Subject: Re: resetting ivars safely
- From: "Shawn Erickson" <email@hidden>
- Date: Thu, 13 Sep 2007 10:50:03 -0700
On 9/13/07, Daniel Child <email@hidden> wrote:
> Thanks for the suggestion. I did. It is helpful on accessors and the
> basic notion of ownership. ("X created or copied it so X needs to
> release it.") But I don't find that documentation terribly clear on
> some of the scenarios I have been dealing with. My two main scenarios
> requiring attention to memory have been
>
> - reinitializing or resetting instance variables
This is an arbitrary qualification of yours that doesn't affect the
memory management "rules".
> - adding objects to a collection, which itself is an instance variable
Again this is an arbitrary qualification of yours that doesn't affect
the memory management "rules".
-Shawn
_______________________________________________
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