Re: Close All Documents
Re: Close All Documents
- Subject: Re: Close All Documents
- From: Steve Mills <email@hidden>
- Date: Wed, 01 May 2013 15:23:12 -0500
On May 1, 2013, at 14:58:47, Seth Willits <email@hidden> wrote:
> 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?
No.
> 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.
That's only valid if the app is using the new autosave mechanism that saves changes in place. I am not.
> 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.
I'm not asking about closing docs when quitting, but handling the Close All Documents menu item, hence the possibly somewhat unclear subject line. We've offered this menu item in the past and will continue to offer it into the future. I just needed to implement it in a way that would live peacefully with Cocoa and make use of the "review changes" dealy-bob. Thanks for your input!
--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157
_______________________________________________
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