Instance Property


A boolean value that indicates whether the receiver can be written to.


@property(readonly) BOOL hasSpaceAvailable;


YES if the receiver can be written to or if a write must be attempted in order to determine if space is available, NO otherwise.

See Also

Using Streams

- write:maxLength:

Writes the contents of a provided data buffer to the receiver.

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