Re: How did I break Auto Save during -[NSApp terminate:]?
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