setDelegate(_:)
Sets the receiver’s delegate to a given object.
Declaration
func setDelegate(_ anObject: (any PortDelegate)?)Parameters
- anObject:
The delegate for the receiver.
Sets the receiver’s delegate to a given object.
func setDelegate(_ anObject: (any PortDelegate)?)The delegate for the receiver.