Contents

addChild(_:)

Adds the given object as a child.

Declaration

func addChild(_ child: PHASEObject) throws

Parameters

  • child:

    The object to add to the Children array.

Mentioned in

Discussion

This function throws an error if child already has a different parent.

See Also

Managing the Hierarchy