On Mar 15, 2012, at 10:40 AM, Fritz Anderson wrote: > 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?
The docs for -[NSProcessInfo setAutomaticTerminationSupportEnabled:] include this note: "Currently, passing NO has no effect." Of course, it's worth a try. The docs aren't always correct or up-to-date. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com