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?
This is correct on both counts. -- Dave Carrigan [email protected] Seattle, WA, USA _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
