Next Page > Hide TOC

NSNibOutletConnector Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/AppKit.framework
Availability
Available in Mac OS X v10.0 and later.
Companion guide
Declared in
NSNibOutletConnector.h

Overview

This class manages an outlet connection in Interface Builder. The label is of the form "value". If the source contains a method of the form setValue:, then that method is called with the destination as the argument. Otherwise, if the label is the name of an instance variable in the source, then that instance variable is set to the destination.

Tasks

Establishing a Connection

Instance Methods

establishConnection

Establishes an outlet connection.

- (void)establishConnection

Discussion

If the label is a method name of the form setValue: (where Value can be anything), that method is called on the source object. The parameter passed to that method is the destination object.

If the label contains the name of an outlet, this method sets the value of the outlet to the destination object. The outlet must specify an instance variable in the source object.

Availability
See Also
Declared In
NSNibOutletConnector.h

Next Page > Hide TOC


© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-01-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.