Replaces the context of a tree by releasing the old information pointer and retaining the new one.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The tree to modify.
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.