Re: document saveing in Lion
Re: document saveing in Lion
- Subject: Re: document saveing in Lion
- From: Georg Seifert <email@hidden>
- Date: Thu, 12 Jan 2012 21:22:29 +0100
Sorry for replying to my own post.
Just as I wrote this, I found the "File Type Fixing in -[NSDocument saveToURL:ofType:forSaveOperation:completionHandler:]" in the release notes. But this behavior is not acceptable. The read-only files should not be deleted but the user should be asked for an place to save the new file.
By the way, this worked well in Snow Leopard.
Georg
On 12.01.2012, at 21:04, Georg Seifert wrote:
> Hi,
>
> I have a problem and can find the right terms to search for it to solve my problem.
>
> I have a app, that can read several documents as but can’t save them, it has a native file format is can save to. If I open such a file, it shows a "locked" in the title bar. If I unlock it and make some changes and close the document, it just saves to the same url as the opened file. As it saves in another file type, the file is rendered useless as the extension is wrong now.
>
> I suppose it should bring up a save panel either when I unlock it or when I close it, much like it does when duplicating.
>
> Can someone shed some light on this?
>
> Best
> Georg Seifert
_______________________________________________
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