O'Reilly logo

Core Data in Swift by Marcus S. Zarra

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

A Simple Migration

To demonstrate a simple migration, let’s add the ability to attribute recipes to authors. To begin the versioning, the first thing we have to do is create a new managed object model (MOM) based on the first one. To do that, we select the existing model in Xcode and then choose Editor > Add Model Version.

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