• 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: How to quit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to quit


  • Subject: Re: How to quit
  • From: Finlay Dobbie <email@hidden>
  • Date: Tue, 8 Jun 2004 15:19:32 +0100

On 8 Jun 2004, at 15:06, Gwynne wrote:

Call [NSApp terminate:self]. This won't execute anything after NSApplicationMain(), however; it ultimately calls exit() itself. However, you can implement applicationWillTerminate: in your application delegate object, and do your cleanup there. More information can be found at:

Also note that there's an NSApplicationWillTerminate notification posted at the same time.

-- Finlay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >How to quit (From: Mark Thomas <email@hidden>)
 >Re: How to quit (From: Gwynne <email@hidden>)

  • Prev by Date: Re: Problem with custom control in NSToolbar
  • Next by Date: Re: Problem with custom control in NSToolbar
  • Previous by thread: Re: How to quit
  • Next by thread: Mail Plug-ins?
  • Index(es):
    • Date
    • Thread