• 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: Carl Hoefs <email@hidden>
  • Date: Thu, 09 Oct 2014 16:38:32 -0700

Yeah, that’s what I resorted to. But I remember there was a plist entry that would do that for you, without code.
-Carl

On Oct 9, 2014, at 4:31 PM, Rick C. <email@hidden> wrote:

> - (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


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

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