Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Connections and Bindings

For Cocoa developers, the ability to connect objects at design time is a key part of the rapid development aspect of Cocoa applications. Many Cocoa classes use connections to implement basic behaviors, including event handling, window management, focus management, and action dispatch. Connections are therefore an important consideration in your Cocoa application design.

This chapter covers the techniques for creating connections and bindings using Interface Builder.

Note: The information in this chapter applies to nib files developed for Cocoa applications only. Carbon applications do not support connections. Instead, Carbon objects must be configured with command IDs that are then used by the underlying code to respond to interactions with views and controls. For more information on configuring Carbon nib files, see “Carbon Objects”

Contents:

About Connections and Bindings
Integrating Your Code With Interface Builder
Creating and Managing Outlet and Action Connections
Configuring Cocoa Bindings




< Previous PageNext Page > Hide TOC


Last updated: 2007-10-31




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice