• 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: Applet HighLevel Events and NSApplications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Applet HighLevel Events and NSApplications (From: Mark Thomas <email@hidden>)

  • Prev by Date: Re: Flattening Mac resource files?
  • Next by Date: NSOutlineView retaining/releasing data cell
  • Previous by thread: Re: Applet HighLevel Events and NSApplications
  • Next by thread: Actions and MVC
  • Index(es):
    • Date
    • Thread