Retired Documents Library

Developer

AppKit Framework Reference NSNibControlConnector Class Reference

Options
Deployment Target:

On This Page

NSNibControlConnector

Inheritance


Conforms To


Import Statement


Not Applicable

Objective-C

@import AppKit;

Availability


Available in OS X v10.0 and later.

This class manages an action connection in Interface Builder. Generally, its source is a user interface item, such as a button or menu item; its destination is an object that responds to an action method; and its label is the name of the action method, with a colon at the end.

  • Establishes an action connection.

    Declaration

    Objective-C

    - (void)establishConnection

    Discussion

    This method establishes a connection between the source of an action and its destination. The label associated with the connection object contains the selector name to perform when the action occurs.

    Import Statement

    Objective-C

    @import AppKit;

    Availability

    Available in OS X v10.0 and later.

    See Also

    setSource: (NSNibConnector)
    setDestination: (NSNibConnector)
    setLabel: (NSNibConnector)