Introduction to Cocoa Bindings Reference
Cocoa bindings is a collection of technologies that reduces the code dependencies between models, views and controllers, automatically synchronizing views when models change. You can eliminate most of your glue code by using bindings available in Interface Builder to connect controllers with models and views.
Organization of This Document
These articles cover key concepts in understanding the types of bindings and options available:
“Binding Types” describes the types of bindings that are available.
“Binding Options” describes the range of options for a binding.
Following the articles are descriptions of bindings for the classes that support Cocoa bindings. Each description lists the options and placeholders for the binding, as well as the expected object type and whether the binding is read-only.
This document is primarily a reference. You may want to read these additional topics for a better understanding of the concepts required to effectively use Cocoa bindings.
Cocoa Bindings Programming Topics covers the conceptual details of Cocoa bindings, as well as many of the commonly encountered tasks.
Key-Value Observing Programming Guide covers the features of the key-value observing protocol which allows objects to observe changes in other objects.
Value Transformer Programming Guide describes how to use value transformers to convert values from one type to another.
© 2004, 2010 Apple Inc. All Rights Reserved. (Last updated: 2010-03-24)