Multiple untitled docs are saving to same file
Multiple untitled docs are saving to same file
- Subject: Multiple untitled docs are saving to same file
- From: Steve Mills <email@hidden>
- Date: Mon, 29 Apr 2013 13:08:27 -0500
We just noticed something that is wrong. When our saveToURL:ofType:forSaveOperation:completionHandler override gets called for NSAutosaveElsewhereOperation on two different untitled docs, the url is exactly the same, so the 2nd one overwrites the 1st. Why? How does Cocoa formulate the url for untitled autosaved files?
Keep in mind we have preservesVersions and autosavesInPlace both returning NO. We've overridden saveToURL so we can direct autosaves to a folder optionally set by the user. But the incoming url is the problem, before we've even touched it.
--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157
_______________________________________________
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