O'Reilly logo

Core Data in Swift by Marcus S. Zarra

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

Chapter 11Bindings, KVC, and KVO

Cocoa Bindings provides a lot of the magic behind Core Data. It consists of a number of APIs and concepts that together allow us to develop our applications using the Model-View-Controller paradigm, without requiring a tight coupling of the three aspects.

Cocoa Bindings allows us to design views, controllers, and models that all expect data in a specific format, without requiring that we bind them to specific classes. This means we can use views in multiple places and swap out controllers and even models without the need for extensive recoding, if any.

In this chapter, we look at some of the key components of Cocoa Bindings and then delve into the specifics of how Core Data works with those bindings. The two ...

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