Contents

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

Related Documentation

Creating Instances