On 12 Oct 2011, at 5:39 PM, Rick Mann wrote: > I can't tell from the docs for -viewDidUnload if it is not guaranteed to be > called when cleaning up. It does say that it's called for low-memory > situations, but also says it's called as a counterpart to -viewDidLoad, which > is always called when a view controller is created.
The docs say specifically: > When a low-memory condition occurs and the current view controller’s views > are not needed, the system may opt to remove those views from memory. It doesn't refer to any other scenario, and given that the recommendation is that -viewDidUnload do many of the same releases (+ plus nil-outs) as would be done in -dealloc, I take it that low-memory (and therefore -viewDidUnload) and deallocation are separate paths. — F _______________________________________________ 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