Retired Documents Library

Developer

AppKit Framework Reference NSNibControlConnector Class Reference

Options
Deployment Target:

On This Page

NSNibControlConnector

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.

Inheritance


Conforms To


Import Statement


Not Applicable

Objective-C

@import AppKit;

Availability


Available in OS X v10.0 and later.
  • 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.

    Availability

    Available in OS X v10.0 and later.

    See Also

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