• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSDocument autosave in place – possible data loss?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSDocument autosave in place – possible data loss?
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Data, enumerateBytes: separate blocks?
  • Next by Date: Re: NSDocument autosave in place – possible data loss?
  • Previous by thread: Gamecenter not updating scores at the completion of submit
  • Next by thread: Re: NSDocument autosave in place – possible data loss?
  • Index(es):
    • Date
    • Thread