Instance Method

setDelegate(_:)

Sets the receiver’s delegate to a given object.

Declaration

func setDelegate(_ anObject: PortDelegate?)

Parameters

anObject

The delegate for the receiver.

See Also

Setting the Delegate

func delegate() -> PortDelegate?

Returns the receiver’s delegate.