• 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
Core Data Migration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Core Data Migration
      • From: mmalc Crawford <email@hidden>
    • Re: Core Data Migration
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: IKImageBrowserView managing the number of columns manually
  • Next by Date: Re: Localization strategies?
  • Previous by thread: Re: IKImageBrowserView managing the number of columns manually
  • Next by thread: Re: Core Data Migration
  • Index(es):
    • Date
    • Thread