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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to