Re: State Restoration thinks all my windows closes prior to quit
Re: State Restoration thinks all my windows closes prior to quit
- Subject: Re: State Restoration thinks all my windows closes prior to quit
- From: Daryle Walker <email@hidden>
- Date: Tue, 08 Mar 2016 04:42:50 -0500
On Mar 7, 2016, at 3:40 PM, Quincey Morris <email@hidden> wrote:
>
> On Mar 5, 2016, at 01:36 , Daryle Walker <email@hidden <mailto:email@hidden>> wrote:
>>
>> The “applicationOpenUntitledFile:” and “newDocument:” methods call this method.
>
> On Mar 7, 2016, at 12:30 , Daryle Walker <email@hidden <mailto:email@hidden>> wrote:
>>
>> I haven’t set any restoration class. But that wasn’t a problem before; Apple’s default code worked just fine. I don’t know what I changed to break it.
>
> It sounds like this is a document-based app, even if it isn’t currently a NSDocument-based app. Apple has no “default code” for document-based apps that don’t use NSDocument. So, my guess is that you were previously using NSDocument and now you’re not.
Nope, it was made from the non-Document, non-CoreData, pro-Storyboard app template.
> If that’s not the case, do you still have the project that “worked” until the changes broke it?
No. I was going to commit it after this (if it worked). But I think I’m going to trash it and start over with the pro-Storyboard, pro-Document app template. (I am thinking of using Core Data, but I’m not going add it right now. One, I’m still not sure I’m going to use it. Two, I may not use it like NSPersistentDocument does, especially since that subclass doesn’t support some behaviors.)
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
_______________________________________________
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