O'Reilly logo

Cocoa® by Richard Wentk

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

mac_ch13.eps
co_bar.eps

Chapter 13: Using Preferences and Bindings

mac_chbox13.eps

In This Chapter

Understanding bindings

Using bindings with controllers

Implementing preferences with bindings

Creating and using value transformers

In the same way that space is big, bindings are complex. Apple's documentation might not be considered a model of clarity, and it's difficult to find good information online from other sources, in part because bindings cause so much confusion to so many developers that even Cocoa experts have trouble with them. This chapter is designed to cut through the confusion that surrounds bindings and present them in a simple and clear way. To use bindings successfully you must understand:

bl.eps What bindings are

bl.eps How bindings relate to other technologies, such as properties, Key-Value Observing (KVO), and Key-Value Coding (KVC)

bl.eps How bindings are implemented in code

How bindings are implemented in Interface ...

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