© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
A. TsadokUnleash Core Datahttps://doi.org/10.1007/978-1-4842-8211-3_10

10. Migrations

Avi Tsadok1  
Tel Mond, Israel

The computer was born to solve problems that did not exist before.

—Bill Gates

Up until now, we were talking about ways to set up an amazing Core Data infrastructure – how the data model works and how to perform blazingly fast fetch requests.

But nothing stands still. Not us, not our app, and certainly not our data store.

When new app versions come along, we will need to add more features. These features may require data model changes like new entities, attributes, and relationships and even transforming an existing entity to a different ...

Get Unleash Core Data: Fetching Data, Migrating, and Maintaining Persistent Stores 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.