Type Alias


NSStream defines these string constants as keys for accessing stream properties using propertyForKey: and setting properties with setProperty:forKey::


typedef NSString *NSStreamPropertyKey;


Type Properties


Value is an NSData instance containing the data written to a memory stream.


Value is an NSNumber object containing the current absolute offset of the stream.


The type of service for the stream. Providing the service type allows the system to properly handle certain attributes of the stream, including routing and suspension behavior. Most streams do not need to set this property. See Stream Service Types for a list of possible values.


Value is an NSDictionary object containing SOCKS proxy configuration information.

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