Autosave directory settable?
Autosave directory settable?
- Subject: Autosave directory settable?
- From: Steve Mills <email@hidden>
- Date: Tue, 16 Apr 2013 14:54:10 -0500
Is it possible for the app to set the directory where autosaved documents will be stored instead of the folder the OS creates deep within /private/var/folders? Our app has long done its own autosaving and offered a pref so the user could change the dir if they wanted. I'm now looking into the possibility of switching to Cocoa's autosave instead, and would like all our autosave prefs to remain as they are and still be usable.
Would it be gross to override writeToURL:ofType:forSaveOperation:originalContentsURL:error: and if it's an autosave operation, rejigger the url to use own dir, and finally call setAutosavedContentsFileURL with the url we saved to instead?
--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157
_______________________________________________
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