CoreData question...

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

  1. Kandjar

    Kandjar
    Expand Collapse
    iPF Novice

    Joined:
    Oct 4, 2010
    Messages:
    14
    Thanks Received:
    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

    david.muller777
    Expand Collapse
    iPF Noob

    Joined:
    Nov 4, 2010
    Messages:
    1
    Thanks Received:
    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