1. Due to the recent site upgrade, the iPadForums (iPF) App will no longer work. The new iPadForums.net website has been designed from the ground up to work perfectly from any mobile, tablet, or desktop computer using the built in internet browser. Create a shortcut to iPadForums.net on your home screen by following these steps: Create an icon for iPadForums.net

CoreData question...

Discussion in 'iPad Development' started by Kandjar, Nov 3, 2010.

  1. Kandjar
    Offline

    Kandjar iPF Novice

    Joined:
    Oct 4, 2010
    Messages:
    14
    Thanks Received:
    0
    Trophy Points:
    0
    Ratings:
    +0 / 0
    Hi there;

    CoreData is quite annoying when it comes to updating the database...

    If the application has already been released in the app store and you need for the version 2.0 to update some entity/table in the database. You now end up with a database which is incompatible with the version 1.0 of you app.

    Sadly by default, the code bail out spewing an error saying that the data you're trying to load doesn't match the existing model.

    What's the best way to deal with the issue?

    Thanks.
  2. david.muller777
    Offline

    david.muller777 iPF Noob

    Joined:
    Nov 4, 2010
    Messages:
    1
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Hamburg, Germany
    Ratings:
    +0 / 0
    I think what you need to do is create Core Data versioning. I am personally using Sensible TableView for my Core Data applications and I think it's handling all this stuff automatically.

Share This Page