NSDocument read from file, force save to different file
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