• 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: what happens between init and awakeFromNib?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what happens between init and awakeFromNib?


  • Subject: Re: what happens between init and awakeFromNib?
  • From: Sherm Pendley <email@hidden>
  • Date: Mon, 20 Dec 2004 08:00:02 -0500

On Dec 20, 2004, at 7:52 AM, Matthew wrote:

Ok, this is what I was looking for. I was trying to unmount a device in dealloc, which I was assuming would always be called assuming correct memory management (which I believe I have), but what you've said makes a lot of sense. I'll look into a better place to do this, perhaps in

applicationShouldTerminateAfterLastWindowClosed

Right idea, wrong method.

The NSApplication delegate method that you want to use in your case is applicationWillTerminate:.

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
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: 
 >what happens between init and awakeFromNib? (From: Matthew <email@hidden>)
 >Re: what happens between init and awakeFromNib? (From: Chaz McGarvey <email@hidden>)
 >Re: what happens between init and awakeFromNib? (From: Matthew <email@hidden>)

  • Prev by Date: Re: what happens between init and awakeFromNib?
  • Next by Date: Do you care if user changes the SystemFont?
  • Previous by thread: Re: what happens between init and awakeFromNib?
  • Next by thread: CGColorRef to NSColor?
  • Index(es):
    • Date
    • Thread