Creates a new CFTree object.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The allocator to use to allocate memory for the new tree. Pass
NULLor kCFAllocatorDefault to use the current default allocator.
CFTreestructure to be copied and used as the context of the new tree. The information pointer will be retained by the tree if a retain function is provided. If this value is not a valid C pointer to a
CFTreestructure-sized block of storage, the result is undefined. If the version number of the storage is not a valid
CFTreeversion number, the result is undefined.
A new CFTree object. Ownership follows the The Create Rule.