Re: Question Re Memory Management in Apps
Re: Question Re Memory Management in Apps
- Subject: Re: Question Re Memory Management in Apps
- From: David Duncan <email@hidden>
- Date: Tue, 9 Mar 2010 12:22:57 -0800
On Mar 9, 2010, at 11:47 AM, Philippe Sismondi wrote:
> However, unless I am still mistaken, by "deallocated at any time" you mean outside the scope of my init method. That is, I suppose I could have used the autoreleased object within the scope of my init method without it being deallocated out from under me. But since I expect an instance variable to be valid after init returns, I had better retain it.
>
> Is that right?
Yes, this is what I meant.
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
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