Name

NSNibConnector — Mac OS X 10.0

Synopsis

This class represents a connection between two objects in Interface Builder. The Application Kit declares two subclasses that represent the two types of connections supported in Interface Builder: NSNibControlConnection and NSNibOutletConnection.

image with no caption

@interface NSNibConnector : NSObject <NSCoding>
                                  // Accessor Methods
   - (void)setLabel:(NSString *)label;
   - (NSString *)label;
   - (void)setSource:(id)source;
   - (id)source;
   - (void)setDestination:(id)destination;
   - (id)destination;
                                  // Instance Methods
   - (void)establishConnection;
   - (void)replaceObject:(id)oldObject 
                                 withObject:(id)newObject;
                                  // Methods Implementing NSCoding
   - (void)encodeWithCoder:(NSCoder *)aCoder;
   - (id)initWithCoder:(NSCoder *)aDecoder;

Subclasses

NSNibControlConnector, NSNibOutletConnector

Get Cocoa in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.