# IBConnectors documentation

### Authors

Generated by heron

### Contents -

1. Software documentation for the NSApplication(IBConnections) category
2. Software documentation for the NSNibConnector(IBConnectorsProtocol) category
3. Software documentation for the NSObject(IBNibInstantiation) category
4. Software documentation for the IBConnectors protocol

# Software documentation for the NSApplication(IBConnections) category

## NSApplication(IBConnections)

> Declared in:
>   InterfaceBuilder/IBConnectors.h

Description forthcoming.
Method summary

- -connectDestination
- -connectSource
- -displayConnectionBetween:and:
- -isConnecting
- -stopConnecting

### connectDestination

- (id) connectDestination;
[NSApp -connectDestination] returns the target object as set by the most recent [NSApp -displayConnectionBetween:and:]

### connectSource

- (id) connectSource;
[NSApp -connectSource] returns the source object as set by the most recent [NSApp -displayConnectionBetween:and:]

### displayConnectionBetween: and:

- (void) displayConnectionBetween: (id)source and: (id)destination;
[NSApp -displayConnectionBetween:and:] is used to set the source and target objects and mark the display appropriately. Setting either source or target to 'nil' will remove markup from any previous source or target. NB. This method expects to be able to call the active document to ask it for the window and rectangle in which to perform markup.

### isConnecting

- (BOOL) isConnecting;
[NSApp -isConnecting] simply lets you know if a connection is in progress.

### stopConnecting

- (void) stopConnecting;
[NSApp -stopConnecting] terminates the current connection process and removes the connection marks from the display.

# Software documentation for the NSNibConnector(IBConnectorsProtocol) category

## NSNibConnector(IBConnectorsProtocol)

> Declared in:
>   InterfaceBuilder/IBConnectors.h

> Conforms to:
>   IBConnectors

Description forthcoming.

# Software documentation for the NSObject(IBNibInstantiation) category

## NSObject(IBNibInstantiation)

> Declared in:
>   InterfaceBuilder/IBConnectors.h

Description forthcoming.
Method summary

- -nibInstantiate

### nibInstantiate

- (id) nibInstantiate;
Invoked after loading.

# Software documentation for the IBConnectors protocol

## IBConnectors

> Declared in:
>   InterfaceBuilder/IBConnectors.h

> Conforms to:
>   NSObject

Description forthcoming.
Method summary

- -destination
- -establishConnection
- -label
- -nibInstantiate
- -replaceObject:withObject:
- -setDestination:
- -setLabel:
- -setSource:
- -source

### destination

- (id) destination;
Destination for the receiver.

### establishConnection

- (void) establishConnection;
Establish the connection.

### label

- (NSString*) label;
The method to which the receiver will be connected.

### nibInstantiate

- (id) nibInstantiate;
Called after the document is loaded on connections.

### replaceObject: withObject:

- (void) replaceObject: (id)anObject withObject: (id)anotherObject;
Replace anObject with anotherObject. This method looks at the receiver's source and destination and replaces whichever one matches anObject with anotherObject.

### setDestination:

- (void) setDestination: (id)anObject;
Set the receiver's destination to anObject.

### setLabel:

- (void) setLabel: (NSString*)label;
Set the receiver's label.

### setSource:

- (void) setSource: (id)anObject;
Set the receiver's source to anObject.

### source

- (id) source;
The source of the receiver.