Re: Bunch of CoreData based NSDocument questions.
Re: Bunch of CoreData based NSDocument questions.
- Subject: Re: Bunch of CoreData based NSDocument questions.
- From: Graham Cox <email@hidden>
- Date: Mon, 30 Nov 2015 09:21:52 +1100
> On 29 Nov 2015, at 12:20 PM, Quincey Morris <email@hidden> wrote:
>
> you can no longer go back to the pre-save state
There is one exception to this: Undo. If you don’t clear your undo stack on save, then it’s possible to undo past the last save point. I’m not sure, but I don’t think NSDocument clears its undo state by default on save - looking at my code, I’m doing this manually (or not, I have a preference for that). Not sure if that’s pertinent to the discussion, but it may be worth bearing in mind.
—Graham
_______________________________________________
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