Core Data migration from xml to sqlite
Core Data migration from xml to sqlite
- Subject: Core Data migration from xml to sqlite
- From: Ian Kennedy <email@hidden>
- Date: Wed, 2 Sep 2009 07:51:14 -0400
Hi all,
How would I go about doing a one-time migration of application data
from an xml persistent store to a sqlite persistent store? i.e. the
model stays the same, the data is migrated, and the app uses the
sqlite store from there on out.
I've been unsuccessfully trying to do it inside of the
persistentStoreCoordinator method by working with the example from
here: http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CoreData/Articles/cdUsingPersistentStores.html
Here is what I've tried, which doesn't migrate any data, just provides
me with an empty sqlite store:
http://pastie.textmate.org/602152
Thanks for any help,
Ian
_______________________________________________
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