Instance Method

invalidate()

Marks the receiver as invalid and posts an didBecomeInvalidNotification to the default notification center.

Declaration

func invalidate()

Discussion

You must call this method before releasing a port object (or removing strong references to it if your application is garbage collected).

See Also

Validation

var isValid: Bool

A Boolean value that indicates whether the receiver is valid.