Re: How to quit
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.