Core Data Migration
Core Data Migration
- Subject: Core Data Migration
- From: Chaitanya Pandit <email@hidden>
- Date: Mon, 21 Dec 2009 13:10:59 +0530
Hello, List,
I'm working on the migration for one of my Core Data document based application, i've created a mapping model in XCode and am using the "NSMigratePersistentStoresAutomaticallyOption" property by overriding the "configurePersistentStoreCoordinatorForURL:..." method. as described in this awesome link: http://www.timisted.net/blog/archive/core-data-migration/
One weird thing that is happening is that just after the "configurePersistentStoreCoordinatorForURL..." call, the contents of my document on the disk are changed, even if i didn't save the document, that's totally weird because if i open a document created by app version 1.0, using the version 2.0, and just close it without doing anything, i can no longer open that document in 1.0 as it has changed the data and it throws an alert saying the version of the model has been changed
I'd really appreciate any help.
Thanks,
Chaitanya Pandit
Expersis Software Inc.
http://www.expersis.com
_______________________________________________
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