Lion - opening files as a viewer
Lion - opening files as a viewer
- Subject: Lion - opening files as a viewer
- From: Graham Cox <email@hidden>
- Date: Sun, 04 Mar 2012 15:23:44 +1100
Our app can open its own native file format, and also another standard file format. The second format is listed in the file types of the app, and the role is set to 'viewer' rather than 'editor'. When this file is opened, a normal document is made but the contents of the file are converted to our internal format. Later, the user would want to save this using the app's native format.
Unfortunately on Lion, the autosave feature overwrites the original file, destroying it, and replacing it with our native format, but with the wrong extension (it has the original extension).
Shouldn't setting the role to 'viewer' prevent this? Otherwise what should I be doing to avoid this annoying problem?
--Graham
_______________________________________________
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