NSDocument autosave in place – possible data loss?
NSDocument autosave in place – possible data loss?
- Subject: NSDocument autosave in place – possible data loss?
- From: Alan Snyder <email@hidden>
- Date: Sun, 24 Dec 2017 16:36:11 -0800
I was thinking about the idea of automatic save in place, and it occurred to me
there could be a problem.
Suppose the user wants to move some content from one place in a document to
another. A typical way to do this would be to cut the content from the original
location and paste it in the new location.
But suppose the document is autosaved between the cut and paste, and the app or
system crashes before the next autosave.
Would the content then be lost, and would the user even know?
I know that autosave cannot prevent all data loss, but this seems potentially
more serious than losing a bit of typing.
Does anyone try to deal with this potential problem?
Are there other scenarios of a similar nature?
Alan
_______________________________________________
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