• 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: NSProcessInfo setAutomaticTerminationSupportEnabled:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSProcessInfo setAutomaticTerminationSupportEnabled:
      • From: Alex Zavatone <email@hidden>
    • Re: NSProcessInfo setAutomaticTerminationSupportEnabled:
      • From: Michael Babin <email@hidden>
References: 
 >NSProcessInfo setAutomaticTerminationSupportEnabled: (From: Alex Zavatone <email@hidden>)

  • Prev by Date: NSProcessInfo setAutomaticTerminationSupportEnabled:
  • Next by Date: Re: NSProcessInfo setAutomaticTerminationSupportEnabled:
  • Previous by thread: NSProcessInfo setAutomaticTerminationSupportEnabled:
  • Next by thread: Re: NSProcessInfo setAutomaticTerminationSupportEnabled:
  • Index(es):
    • Date
    • Thread