I don't remember the details, but I seem to recall you having to override some methods in NSDocument (saving, closing, etc.) and possibly NSApplication terminate to get the behavior it sounds like you require. The app I worked on wanted to make sure the user had an option to submit an action to an outside service even though the data was saved. -- Gary L. Wade (Sent from my iPad) http://www.garywade.com/
> On Nov 26, 2015, at 10:41 PM, Motti Shneor <su...@bezeqint.net> wrote: > > He hits "Quit" by mistake, and the whole thing pops and disappears. He'll > have to open the application and re-do half an hour's work to bring his setup > to the previous state. Nothing was yet saved - because most of this work is > outside the computer. Only the user can align these two simultaneous flows of > action. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com