Re: Concerns about changing NSManagedObjectContext
Re: Concerns about changing NSManagedObjectContext
- Subject: Re: Concerns about changing NSManagedObjectContext
- From: "Jim Thomason" <email@hidden>
- Date: Tue, 19 Jun 2007 15:18:41 -0500
There are only three differences between a Core Data document based
application, and the non-document style.
Okay, I went back and re-evaluated the effort and it wasn't too difficult to
migrate the whole ball of wax over to a document based app. Nice.
But now I have another issue. The old coredata based app of course used a
single central file down in Library/Application Support/ and now the user
will be able to use any file they want. As part of the migration, I want to
automatically upgrade the central file to something document based. It's
easy enough to open up the file on first launch of the upgraded version and
present an alert to the user saying that the app is now document based.
Ideally, I would then like to require the user to save the file into a
different location of their choosing. I don't want to leave one doc hanging
around in the application support file where they can lose it if all other
docs would be in user specified locations. Basically, I want to create a new
unsaved file populated with all of the data from the existing file.
Is there any way to accomplish this?
-Jim....
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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