Re: Autosave + non-file URL's == trouble
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