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: Jerry Krinock <email@hidden>
- Date: Mon, 21 Oct 2013 15:39:34 -0700
I still don't know what's wrong or how to fix it, but I think the problem probably stems from the fact that I have designed this app to have a single "shoebox" document. The app quits when this document closes. It looks like the closing and quitting methods are stepping into or onto one another somehow.
But it doesn't quite make sense because, when -[NSApp terminate:] is invoked, the shoebox document still exists, it is still listed in the document controller, its -isDocumentEdited returns YES, and its managed object context's -hasChanges returns YES.
_______________________________________________
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