• 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
NSDocument read from file, force save to different file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDocument read from file, force save to different file


  • Subject: NSDocument read from file, force save to different file
  • From: Trygve Inda <email@hidden>
  • Date: Wed, 09 Oct 2013 20:22:30 -0700
  • Thread-topic: NSDocument read from file, force save to different file

Version 1 of my app only saved it's (single container) data in
~/Library/Application Support/

Version 2 is document-based. I need to be able to load the data from the old
App Support location (which is in a different format as well). This part is
easy with a case within my readFromFileWrapper.

Once the data is rebuilt into a version-2 structure, I want the document to
open but to be disassociated with the old file in App Support so that the
user is forced to choose a new save location when it comes time to save.

How can I do this?



_______________________________________________

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: NSDocument read from file, force save to different file
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Keeping Scroll Views in Sync
  • Next by Date: Re: NSDocument read from file, force save to different file
  • Previous by thread: Cocoaheads 92630 tonight, Wed. Oct 9 at 7pm
  • Next by thread: Re: NSDocument read from file, force save to different file
  • Index(es):
    • Date
    • Thread