> On Mar 12, 2016, at 8:53 AM, Eric Gorr <mail...@ericgorr.net> wrote:
> 
> The answer to this question does not involve a coding problem. As some 
> probably understood, default application created by Xcode should 
> automatically support the Resume functionality. What was blocking this from 
> working was the System Preference:
> 
> General -> Close windows when quitting an app
> 
> This preference was selected and closed the windows of the app upon quitting 
> which naturally means there is nothing to resume when the app relaunches.


The same thing happens, for the same reason, if your application implements the 
-applicationShouldTerminateAfterLastWindowClosed: delegate method and return 
YES.

-- 

Bill Cheeseman - wjcheese...@comcast.net

_______________________________________________

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

Reply via email to