Re: Multiple untitled docs are saving to same file
Re: Multiple untitled docs are saving to same file
- Subject: Re: Multiple untitled docs are saving to same file
- From: Mike Abdullah <email@hidden>
- Date: Mon, 29 Apr 2013 22:15:43 +0100
On 29 Apr 2013, at 19:08, Steve Mills <email@hidden> wrote:
> 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?
It's fairly private to Cocoa quite what it uses, and I'm surprised that it might do something this odd/dumb. Can you give us a stacktrace of the call, at least?
_______________________________________________
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