Writes a property list to the specified stream.
- iOS 4.0+
- macOS 10.6+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The property list that you want to write out.
Outputinstance that is open and ready to receive the property list data.
One of the property list formats defined in
List Serialization .Property List Format
Currently unused. Set to
A pointer that the function may set to an
NSErrorobject when an error occurs to provide additional information about the error.
The number of bytes written to the stream. A return value of
0 indicates that an error occurred.