June 2016
Intermediate to advanced
214 pages
5h 40m
English
The NSManagedObject is the object we work with the most in a Core Data application. Each instance of the NSManagedObject represents one entity in our Core Data repository. By combining Core Data with KVO (Key Value Observing) and KVC (Key Value Coding), this one object can dynamically represent any object that we need and that can be defined in our data model. KVO and KVC are discussed in detail in Chapter 11, Bindings, KVC, and KVO. To learn more about them, I highly recommend you read Apple’s excellent documentation on the subjects.[3]
The properties and relationships defined in our data model are available and are easy to access directly from the NSManagedObject. Without subclassing it, we can access ...
Read now
Unlock full access