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 need 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 Design > Data Model > Add Model Version.
Get Core Data in Objective-C, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.