• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Lion - opening files as a viewer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Lion - opening files as a viewer
      • From: Seth Willits <email@hidden>
  • Prev by Date: Re: NSURL and NSRegularExpression
  • Next by Date: Running SMJobBless causes kSMErrorDomainFramework error
  • Previous by thread: Re: NSURL and NSRegularExpression
  • Next by thread: Re: Lion - opening files as a viewer
  • Index(es):
    • Date
    • Thread