• 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
Re: Disable autosave in place for a particular uti / filetype?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disable autosave in place for a particular uti / filetype?


  • Subject: Re: Disable autosave in place for a particular uti / filetype?
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 12 Sep 2011 11:26:53 -0700

On Mon, Sep 12, 2011 at 11:23 AM, Gus Mueller <email@hidden> wrote:
>
> On Sep 12, 2011, at 11:19 AM, Kyle Sluder wrote:
>
>> On Mon, Sep 12, 2011 at 10:53 AM, Gus Mueller <email@hidden> wrote:
>>> Is there any way to turn off 10.7's autosave in place for a particular uti/file type?  Or maybe turn it on for a single file type?
>>
>> Use a different NSDocument subclass for lossy file types?
>
> Oh, right.  Why didn't I think of that?  Sometimes the obvious answers are… not so obvious :)

Probably because it's not the "best" solution. We have the same issue
in our apps, where we read and write to a filetype, but the reading
and/or writing process might be lossy (OPML in OmniOutliner is a prime
example). I believe the expected behavior would be to get an untitled
document with the lossily-imported file contents. I believe you get
this behavior for free if you set the Role to "Viewer" in your UTI
declaration.

--Kyle Sluder
_______________________________________________

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

References: 
 >Disable autosave in place for a particular uti / filetype? (From: Gus Mueller <email@hidden>)
 >Re: Disable autosave in place for a particular uti / filetype? (From: Kyle Sluder <email@hidden>)
 >Re: Disable autosave in place for a particular uti / filetype? (From: Gus Mueller <email@hidden>)

  • Prev by Date: Re: Avoid smooth scrolling when scrolling programmatically
  • Next by Date: Re: any way to know where a UIBarButtonItem has been drawn?
  • Previous by thread: Re: Disable autosave in place for a particular uti / filetype?
  • Next by thread: any way to know where a UIBarButtonItem has been drawn?
  • Index(es):
    • Date
    • Thread