CFPropertyListCreateXMLData(_:_:)
Creates an XML representation of the specified property list.
Declaration
func CFPropertyListCreateXMLData(_ allocator: CFAllocator!, _ propertyList: CFPropertyList!) -> Unmanaged<CFData>!Parameters
- allocator:
The allocator to use to allocate memory for the new data object. Pass
NULLor kCFAllocatorDefault to use the current default allocator. - propertyList:
The property list to convert. This may be any of the standard property list objects, for example a CFArray or a CFDictionary object.
Return Value
A CFData object containing the XML data. Ownership follows the The Create Rule.