• 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: "Application quits when last window closed" = YES
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Application quits when last window closed" = YES


  • Subject: Re: "Application quits when last window closed" = YES
  • From: Ulf Dunkel <email@hidden>
  • Date: Fri, 10 Oct 2014 08:38:03 +0200
  • Organization: invers Software & DSd.net

The option of using an Info.plist key is still in the documentation:
<https://developer.apple.com/library/mac/documentation/General/Conceptual/MOSXAppProgrammingGuide/CoreAppDesign/CoreAppDesign.html#//apple_ref/doc/uid/TP40010543-CH3-SW27>

But I cannot find any related key which represents the -applicationShouldTerminateAfterLastWindowClosed: method.

It only seems to refer to the new Info.plist keys NSSupportsAutomaticTermination and NSSupportsSuddenTermination, which support something completely different.

What was the name of the old plist key?

- - - - -

Am 10.10.2014 um 01:24 schrieb Carl Hoefs:
A while back I wrote a single-window OS X application where I specified an Info.plist entry having a key like "Application quits when last window closed” and set it to YES. Worked great, no code needed. Now I’m writing another single-window OS X app but I can’t find that key as one of the options for Info.plist using Xcode 6. Is there a new way of doing a “Red Exit” or am I just overlooking it?
-Carl
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >"Application quits when last window closed" = YES (From: Carl Hoefs <email@hidden>)

  • Prev by Date: Re: "Application quits when last window closed" = YES
  • Next by Date: Re: sandbox problem
  • Previous by thread: Re: "Application quits when last window closed" = YES
  • Next by thread: Auto Layout Illegal Configuration error
  • Index(es):
    • Date
    • Thread