Re: Applet HighLevel Events and NSApplications
Re: Applet HighLevel Events and NSApplications
- Subject: Re: Applet HighLevel Events and NSApplications
- From: Finlay Dobbie <email@hidden>
- Date: Thu, 27 May 2004 15:53:31 +0100
On 27 May 2004, at 14:30, Mark Thomas wrote:
Any idea what you are suppose to do for the core 4 High level apple
events
within Cocoa Applications, as I saw there was NSApplicationDelegate
???, If
I just want my application to quit if I get a quit event do I need to
do
anything ???, or do I need to provide an ApplicationShouldTerminate
method
???.
This is covered extensively in Apple's documentation.
<
http://developer.apple.com/documentation/Cocoa/Conceptual/
Scriptability/Concepts/ScriptabilityOverview.html#//apple_ref/doc/uid/
20001239>
You only need to provide applicationShouldTerminate if you want
NSApplication to delegate the decision on whether or not your
application should quit, overriding the default behaviour.
-- 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.