On Mar 5, 2016, at 01:36 , Daryle Walker <[email protected]> wrote:
> 
> Default project Xcode 7 with OS X Cocoa app, with Storyboards but without 
> Core Data nor Documents. Somewhere I messed up and State Restoration stopped 
> working correctly. It somehow thinks when quit happens and any open windows 
> get automatically closed that those windows were user-closed instead and 
> therefore not restored.

Maybe I’m missing something, but I don’t see where you set the restoration 
class on the windows you create. Note that when you have a NSDocument-based 
app, NSDocumentController takes care of this for you. Without the restoration 
class, there’s no state restoration.

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to