O'Reilly logo

Core Data for iOS: Developing Data-Driven Applications for the iPad, iPhone, and iPod touch by Tom Harrington, Tim Isted

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Migration and Versioning

When using the code provided by Apple in the Core Data project templates at the time of writing, a Core Data-based iOS application will only be able to work with a persistent store created using the current data model version. During the development of an application, you typically go through several different revisions of the data model. If you make a change to the data model, such as adding a new attribute on an entity, the Core Data framework will raise an exception and refuse to load the persisted data.

In order to support ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required