Contents

Introduction to Cocoa Bindings Programming Topics

Explains how to rapidly develop sophisticated user interfaces using Cocoa binding technology.

Who Should Read This Document

Cocoa bindings is ideal for developers writing new applications who have some familiarity with Cocoa, and for developers of existing applications who want to simply clean up or eliminate their existing glue code. In most cases, Cocoa bindings can be used to replace traditional Cocoa mechanisms such as target-action, delegation, and some data source protocols. However, great care has been taken to ensure that both approaches can be used side by side within the same application.

This document assumes that you have read Key-Value Coding Programming Guide, Key-Value Observing Programming Guide and Value Transformer Programming Guide.

Important: Cocoa bindings is available to Cocoa Objective-C applications running OS X version 10.3 and later.

Organization of This Document

The following articles cover key concepts in understanding how Cocoa bindings works:

These articles contain tasks that teach you how to use Cocoa bindings:

See Also

There are other technologies, not fully covered in this topic, that are fundamental to how bindings work. You may want to read these topics if you want a better understanding of the underpinnings of Cocoa bindings, or if you want to use these technologies independent from bindings. For example, this topic does not explain how to use the methods defined in the key-value observing protocol. Refer to these documents for more details:

  • Developing Cocoa Applications Using Bindings: A Tutorial takes you through the steps of building the familiar Currency Converter application using Cocoa bindings.
  • Cocoa Bindings Reference enumerates the classes that support Cocoa bindings and provides descriptions of the bindings for each class, along with the supported options and placeholders.
  • Key-Value Coding Programming Guide covers all the features of the key-value coding protocol that allows objects to indirectly access the properties of other objects.
  • Key-Value Observing Programming Guide covers all the features of the key-value observing protocol that 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.
  • Sort Descriptor Programming Topics describes how to use sort descriptors that specify how collections are sorted.

Next

Copyright © 2003, 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-07-15