• 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: How did I break Auto Save during -[NSApp terminate:]?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How did I break Auto Save during -[NSApp terminate:]?


  • Subject: Re: How did I break Auto Save during -[NSApp terminate:]?
  • From: Scott Ribe <email@hidden>
  • Date: Mon, 21 Oct 2013 17:23:23 -0600

On Oct 21, 2013, at 4:39 PM, Jerry Krinock <email@hidden> wrote:

> It looks like the closing and quitting methods are stepping into  or onto one another somehow.

All the interactions here are subtle and thinly documented. It all "just works" for standard document-based apps and subclasses of NSDocument, but once you step outside that realm it can be tricky to get everything to work right.

I went through this with windows that act somewhat like documents but do not inherit from NSDocument (they are database entries), and a home-grown window controller that does not inherit from the document-based one, but implements much similar functionality.

I'm sorry I have no idea what your problem is and thus no specific advice, but I think that what you're trying to do can be done. The only advice I can offer is to implement every single related callback, even ones you think you don't need, put logging into them all, and then experiment.

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice





_______________________________________________

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


  • Follow-Ups:
    • Re: How did I break Auto Save during -[NSApp terminate:]?
      • From: Jerry Krinock <email@hidden>
References: 
 >How did I break Auto Save during -[NSApp terminate:]? (From: Jerry Krinock <email@hidden>)
 >Re: How did I break Auto Save during -[NSApp terminate:]? (From: Ken Thomases <email@hidden>)
 >Re: How did I break Auto Save during -[NSApp terminate:]? (From: Jerry Krinock <email@hidden>)
 >Re: How did I break Auto Save during -[NSApp terminate:]? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Core Data with ODBC databases?
  • Next by Date: Re: How did I break Auto Save during -[NSApp terminate:]?
  • Previous by thread: Re: How did I break Auto Save during -[NSApp terminate:]?
  • Next by thread: Re: How did I break Auto Save during -[NSApp terminate:]?
  • Index(es):
    • Date
    • Thread