Type Method

portCoderWithReceivePort:sendPort:components:

Creates and returns a new NSPortCoder object.

Declaration

+ (id)portCoderWithReceivePort:(NSPort *)rcvPort sendPort:(NSPort *)sndPort components:(NSArray *)comps;

Parameters

receiverPort

The receiver port.

sendPort

The send port.

components

An array containing an encoded distributed objects message.

Return Value

A new NSPortCoder object connected to the communication ports receiverPort and sendPort, with an encoded distributed objects message stored in components.

See Also

Creating an NSPortCoder Object

- initWithReceivePort:sendPort:components:

Initializes and returns an NSPortCoder object.

Deprecated