November 2013
Intermediate to advanced
576 pages
19h 3m
English
There are two other default data setup techniques that are commonly used: data model version migrations and loading data from a Web service or an API.
Core Data managed object models are versioned. Core Data understands the relationship between the managed object model and the current data store. If the managed object model changes and is no longer compatible with the data store (for example, if an attribute is added to an entity), Core Data will not be able to initiate the persistent store object using the existing data store and new managed object model. In that case, a migration is required to update the existing data store to match the updated managed object model. In many cases Core Data can perform the ...
Read now
Unlock full access