Instance Method

setDelegate(_:)

Sets the receiver’s delegate to a given object.

Declaration

func setDelegate(_ anObject: NSMachPortDelegate?)

Parameters

anObject

The delegate for the receiver.

See Also

Getting and Setting the Delegate

func delegate() -> NSMachPortDelegate?

Returns the receiver’s delegate.