• 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: State Restoration thinks all my windows closes prior to quit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >State Restoration thinks all my windows closes prior to quit (From: Daryle Walker <email@hidden>)
 >Re: State Restoration thinks all my windows closes prior to quit (From: Quincey Morris <email@hidden>)
 >Re: State Restoration thinks all my windows closes prior to quit (From: Daryle Walker <email@hidden>)
 >Re: State Restoration thinks all my windows closes prior to quit (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Staggering new windows
  • Next by Date: UITableView: combining row moves with insert/delete/reload in animation
  • Previous by thread: Re: State Restoration thinks all my windows closes prior to quit
  • Next by thread: Re: App opens in wrong language on some users' machines
  • Index(es):
    • Date
    • Thread