Re: NSDocument Serialization (-performSynchronousFileAccessUsingBlock: and friends)
Re: NSDocument Serialization (-performSynchronousFileAccessUsingBlock: and friends)
- Subject: Re: NSDocument Serialization (-performSynchronousFileAccessUsingBlock: and friends)
- From: Kevin Perry <email@hidden>
- Date: Fri, 30 Sep 2011 09:15:33 -0700
On Sep 30, 2011, at 8:47 AM, Kevin Perry wrote:
> On Sep 29, 2011, at 4:41 PM, Kyle Sluder wrote:
>
>> [...snip...]
>>
>> A general issue I have with asynchronous saving: what if the save
>> operation fails? The user has now made additional changes, but their
>> "Save a Version" operation did not create a version for them. So now
>> they can't roll back to the timepoint they thought they created.
>
> That is true. Perhaps this is something that could be improved in the future. I suppose one way to fix this would be to retain the 'snapshot' used for async saving and retry again later?
Alternatively, an application may choose to opt out of asynchronous saving for NSSaveOperations only.
-KP_______________________________________________
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