Type Method

connectionWithReceivePort:sendPort:

Returns an NSConnection object that communicates using given send and receive ports.

Declaration

+ (instancetype)connectionWithReceivePort:(NSPort *)receivePort sendPort:(NSPort *)sendPort;

Parameters

receivePort

A receive port.

sendPort

A send port.

Return Value

An NSConnection object that communicates using receivePort and sendPort.

Discussion

See initWithReceivePort:sendPort: for more information.

See Also

Creating Instances

- initWithReceivePort:sendPort:

Returns an NSConnection object initialized with given send and receive ports.

Deprecated