Re: NSProcessInfo setAutomaticTerminationSupportEnabled:
Re: NSProcessInfo setAutomaticTerminationSupportEnabled:
- Subject: Re: NSProcessInfo setAutomaticTerminationSupportEnabled:
- From: Fritz Anderson <email@hidden>
- Date: Thu, 15 Mar 2012 10:40:03 -0500
On 15 Mar 2012, at 10:01 AM, Alex Zavatone wrote:
> Then I came across the text below from the read me file in the TextEdit source:
>
> • TextEdit opts into Automatic Termination. However, this opt-in is done automatically by the system. Normally TextEdit would have had to put an entry for NSSupportsAutomaticTermination in its Info.plist or call -[NSProcessInfo setAutomaticTerminationSupportEnabled:YES].
>
> So, if this is an option settable by the programmer, yet the system opts in FOR YOU, and if the programmer wants to control it, how can they do that? Why is the system opting in when this can be set in code or in a plist? How can I get control back so that I can test this? Where is the documentation that states how to pass or remove control from the system for items like this?
Perhaps it is a badly-stated default. Have you tried setting the property to NO?
— F
_______________________________________________
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