Contents

CFTreeRemove(_:)

Removes a tree from its parent.

Declaration

func CFTreeRemove(_ tree: CFTree!)

Parameters

  • tree:

    The tree to remove from its parent.

Discussion

When a child tree is removed from its parent, the parent releases it. If you want to use the child after you have removed it, you should ensure you retain it before removing it from its parent.

See Also

Modifying a Tree