Re: Bunch of CoreData based NSDocument questions.
Re: Bunch of CoreData based NSDocument questions.
- Subject: Re: Bunch of CoreData based NSDocument questions.
- From: Quincey Morris <email@hidden>
- Date: Sun, 29 Nov 2015 16:01:57 -0800
- Feedback-id: 167118m:167118agrif8a:167118sTKIFfjZPa:SMTPCORP
On Nov 29, 2015, at 15:44 , Ben Kennedy <email@hidden> wrote:
>
> although it does not mitigate the actual insidious destruction which I want to believe, as Quincey postulated, is only a bug rather than deliberate design).
Well, it turns out that I’m absolutely wrong.
I just checked the documentation:
https://developer.apple.com/library/prerelease/mac/documentation/DataManagement/Conceptual/DocBasedAppProgrammingGuideForOSX/StandardBehaviors/StandardBehaviors.html#//apple_ref/doc/uid/TP40011179-CH5-SW3 <https://developer.apple.com/library/prerelease/mac/documentation/DataManagement/Conceptual/DocBasedAppProgrammingGuideForOSX/StandardBehaviors/StandardBehaviors.html#//apple_ref/doc/uid/TP40011179-CH5-SW3>
(It was last updated in 2012, so this is not some new change.)
Autosave-in-place *is* supposed to update an already-saved document in place. There is no separate autosave, and the correct way to go back is to use the versions browser. There is also no “Don’t Save” button in a do-you-want-to-save dialog. It’s a “Revert Changes” button instead. The “don’t save” concept has just gone away in such apps.
Either I never knew this, or I knew this but forgot since the last time I worked on an autosavesInPlace==YES app.
_______________________________________________
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