Contents

removeChild(at:)

Removes the child node at a particular location in the receiver’s list of children.

Declaration

func removeChild(at index: Int)

Parameters

  • index:

    An integer identifying the child node to remove. The indices of subsequent children in the list are decremented by one.

Discussion

The removed child node is released.

See Also

Manipulating Child Nodes