- iOS 2.0+
- macOS 10.3+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
Status At End
There is no more data to read, or no more data can be written to the stream. When this status is returned, the stream is in a “non-blocking” mode and no data are available.
The remote end of the connection can’t be contacted, or the connection has been severed for some other reason.
Status Not Open
The stream is not open for reading or writing. This status is returned before the underlying call to open a stream but after it’s been created.
The stream is open, but no reading or writing is occurring.
The stream is in the process of being opened for reading or for writing. For network streams, this status might include the time after the stream was opened, but while network DNS resolution is happening.
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