O'Reilly logo

Learning Core Data for iOS with Swift: A Hands-On Guide to Building Core Data Applications, Second Edition by Tim Roadley

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

4. Managed Object Model Expansion

Black holes are where God divided by zero.

Albert Einstein

In Chapter 3, “Managed Object Model Migration,” you learned how to manage a changing model with versioning, mappings, and migration techniques. This chapter exercises your newfound migration knowledge as it further introduces changes to the model. The topics expand beyond one or two entities with the introduction of relationships, and at the end of the chapter, entity inheritance. The implications of delete rules are discussed, along with the impact some of them can have on data validation.

Relationships

Relationships link entities. Using relationships in the managed object model introduces a powerful means to connect logical areas of data represented ...

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