• 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: "Rick C." <email@hidden>
  • Date: Fri, 10 Oct 2014 07:31:57 +0800

- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication {
	return YES;
}



On Oct 10, 2014, at 7:24 AM, Carl Hoefs <email@hidden> wrote:

> 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


 _______________________________________________
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


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

  • Prev by Date: "Application quits when last window closed" = YES
  • Next by Date: Re: "Application quits when last window closed" = YES
  • Previous by thread: "Application quits when last window closed" = YES
  • Next by thread: Re: "Application quits when last window closed" = YES
  • Index(es):
    • Date
    • Thread