Removes the specified object from the tree.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
The object to be removed from the tree.
The corner (with the lowest x- and y-coordinate values) of the bounding region to search for the object to remove.
The corner (with the highest x- and y-coordinate values) of the bounding region to search for the object to remove.
Removing an object from the tree requires first finding that object within the tree’s internal structure. Because the tree organizes itself spatially, you must search for the node to be removed based on the region it occupies. The
bounding parameters identify this region—to remove an element from the tree, those parameters must identify a region which entirely contains (or is the same as) the region you specified when adding that node to the tree with the