• 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: Autosave + non-file URL's == trouble
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autosave + non-file URL's == trouble


  • Subject: Re: Autosave + non-file URL's == trouble
  • From: Uli Kusterer <email@hidden>
  • Date: Mon, 22 Jun 2015 08:44:48 +0200

On 22 Jun 2015, at 00:02, Charles Srstka <email@hidden <mailto:email@hidden>> wrote:
> I’ve used NSDocument with non-file URLs for years, just not with autosave. (I really, really wish that autosavesInPlace were an instance method instead of a class method, so I could just have it return true conditionally upon the URL being a file URL, but oh well.)

What's preventing you from subclassing your document class and claiming the file scheme with the superclass, your custom scheme with the subclass?
_______________________________________________

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: Autosave + non-file URL's == trouble
      • From: Charles Srstka <email@hidden>
References: 
 >Autosave + non-file URL's == trouble (From: Charles Srstka <email@hidden>)
 >Re: Autosave + non-file URL's == trouble (From: Quincey Morris <email@hidden>)
 >Re: Autosave + non-file URL's == trouble (From: Charles Srstka <email@hidden>)

  • Prev by Date: Re: Autosave + non-file URL's == trouble
  • Next by Date: Re: Autosave + non-file URL's == trouble
  • Previous by thread: Re: Autosave + non-file URL's == trouble
  • Next by thread: Re: Autosave + non-file URL's == trouble
  • Index(es):
    • Date
    • Thread