Creates and returns a property list by reading from the specified stream.
- iOS 4.0+
- macOS 10.6+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
NSStreamobject. The stream should be open and configured for reading.
The options used to create the property list. For possible values, see
List Mutability Options
Upon return, contains the format that the property list was stored in. Pass
nilif you do not need to know the format.
If the method does not complete successfully, upon return contains an
NSErrorobject that describes the problem.
A property list object corresponding to the representation in
data. If data is not in a supported format, returns