O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required