Re: NSProcessInfo setAutomaticTerminationSupportEnabled:
Re: NSProcessInfo setAutomaticTerminationSupportEnabled:
- Subject: Re: NSProcessInfo setAutomaticTerminationSupportEnabled:
- From: Alex Zavatone <email@hidden>
- Date: Thu, 15 Mar 2012 12:38:45 -0400
I think I tried that at 4 or 5 AM this morning but I will try again later today after I get out of the office.
I'm also going to try these:
– automaticTerminationSupportEnabled
– disableAutomaticTermination
– enableAutomaticTermination
Declared In
NSProcessInfo.h
On Mar 15, 2012, at 12:25 PM, Michael Babin wrote:
> On Mar 15, 2012, at 10:58 AM, Alex Zavatone wrote:
>
>> If I make the build myself from the TextEdit source code, and add that pList value to the Info.plist, the built copy of TextEdit still auto quits if I close the last doc and click in the Finder.
>
> If you're building from source, perhaps you could try inserting a call to -[NSProcessInfo disableAutomaticTermination:]?
>
> I realize this is not a general solution for apps where you don't have the source.
>
>
- Alex Zavatone
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden