Instance Method

invalidate

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

Declaration

- (void)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

valid

A Boolean value that indicates whether the receiver is valid.