Instance Property

valid

A Boolean value that indicates whether the receiver is valid.

Declaration

@property(readonly, getter=isValid) BOOL valid;

Discussion

NO if the receiver is known to be invalid, otherwise YES.

An NSPort object becomes invalid when its underlying communication resource, which is operating system dependent, is closed or damaged.

See Also

Validation

- invalidate

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software