• 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
Autosave directory settable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Autosave directory settable?
      • From: Kevin Perry <email@hidden>
  • Prev by Date: Re: Binding NSDictionary in NSArray into table view cell
  • Next by Date: Re: Autosave directory settable?
  • Previous by thread: Re: Binding NSDictionary in NSArray into table view cell
  • Next by thread: Re: Autosave directory settable?
  • Index(es):
    • Date
    • Thread