• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Correct Time to Write Extra code on Shutdown
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Correct Time to Write Extra code on Shutdown (From: Jerrod Fowkes <email@hidden>)

  • Prev by Date: Re: awakeFromNib and toolbar creation
  • Next by Date: Re: Correct Time to Write Extra code on Shutdown
  • Previous by thread: Correct Time to Write Extra code on Shutdown
  • Next by thread: Re: Correct Time to Write Extra code on Shutdown
  • Index(es):
    • Date
    • Thread