Re: Correct Time to Write Extra code on Shutdown
Re: Correct Time to Write Extra code on Shutdown
- Subject: Re: Correct Time to Write Extra code on Shutdown
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 28 Apr 2006 15:17:54 -0600
On Apr 28, 2006, at 3:06 PM, Jerrod Fowkes wrote:
Also I need the optimal way of storing the data before the
application shuts down. I am currently throwing around the idea of
doing this in the dealloc. From a coding / engineering / cocoa
application specialist perspective, is this the most horrible way
or the most feasible?
It won't work; objects aren't dealloced at shutdown unless you
manually dealloc them. Try the NSApplication delegate method -
applicationWillTerminate: instead.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden