Re: "Application quits when last window closed" = YES
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