Re: Close All Documents
Re: Close All Documents
- Subject: Re: Close All Documents
- From: Seth Willits <email@hidden>
- Date: Wed, 01 May 2013 12:58:47 -0700
On May 1, 2013, at 12:03 PM, Steve Mills wrote:
> Since this is no longer handled by the OS (probably in lieu of the silly new "quit when last doc is closed" behavior), is there a better way to handle it than what I have below?
To be clear, are you suggesting that when quitting your app with unsaved documents open it's not asking you to review unsaved docs and you want it to that and are therefore having to somewhat implement that yourself?
Quitting with unsaved documents open (according to Apple HIG) should now quit immediately and when the app reopens restore those same unsaved documents to their prior state so there's no need for review. It's separate from the (I completely agree) silly and maddening "quit when last doc is closed" behavior.
However, unless your windows are marked as restorable I believe it should still be showing that review alert. So perhaps you might double check that.
As far as your implementation goes it looks right to me.
--
Seth Willits
_______________________________________________
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