Re: How to quit
Re: How to quit
- Subject: Re: How to quit
- From: David Reed <email@hidden>
- Date: Tue, 8 Jun 2004 10:05:50 -0400
Mark,
... I want to finish and quit this
application.
...telling the Coca framework I want to quit would be better so I
could then,
so something after in my main() proc.
[[NSApplication sharedApplication] terminate:nil] should do what you
want in Cocoa. It would probably be better to use the termination
notification methods in your app delegate rather than doing it in your
main() after termination, if only because it is clearer. You probably
couldn't use the AppKit after the NSApplication goes away anyway.
David.
_______________________________________________
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>) |