Re: resetting ivars safely
Re: resetting ivars safely
- Subject: Re: resetting ivars safely
- From: Daniel Child <email@hidden>
- Date: Thu, 13 Sep 2007 13:07:39 -0400
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
- adding objects to a collection, which itself is an instance variable
There must be better articles out there.....
On Sep 13, 2007, at 12:41 PM, Charles Steinman wrote:
You should read the Cocoa memory management
documentation.
http://developer.apple.com/documentation/Cocoa/Conceptual/
MemoryMgmt/Concepts/ObjectOwnership.html#//apple_ref/doc/uid/
20000043-BEHDEDDB
_______________________________________________
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