Creates a property list using the specified XML or binary property list data.
- iOS 2.0–8.0Deprecated
- macOS 10.0–10.10Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–9.0Deprecated
- watchOS 2.0–2.0Deprecated
- Core Foundation
The allocator to use to allocate memory for the new property list. Pass
NULLor kCFAllocatorDefault to use the current default allocator.
The raw bytes to convert into a property list. The bytes may be the content of an XML file or of a binary property list (see
A constant that specifies the degree of mutability for the returned property list. See
Property List Mutability Optionsfor descriptions of possible values.
NULLif the conversion is successful, otherwise a string that describes the nature of the error. Error messages are not localized, but may be in the future, so they are not currently suitable for comparison.
NULLif you do not wish to receive an error string. Ownership follows the The Create Rule.
A new property list if the conversion is successful, otherwise
NULL. Ownership follows the The Create Rule.