Recursively creates a copy of a given property list.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The allocator to use to allocate memory for the new property list. Pass
NULLor kCFAllocatorDefault to use the current default allocator.
The property list to copy. This may be any of the standard property list objects, for example a CFArray or a CFDictionary object.
A constant that specifies the degree of mutability of the returned property list. See
Property List Mutability Optionsfor descriptions of possible values.
A new property list that is a copy of
property. Ownership follows the The Create Rule.
Recursively creates a copy of the given property list so nested arrays and dictionaries are copied as well as the top-most container.