Contents

setChildren(_:)

Removes all existing children of the receiver and replaces them with an array of new child nodes.

Declaration

func setChildren(_ children: [XMLNode]?)

Parameters

  • children:

    An array of Xmlnode objects. To remove all existing children, pass in nil.

Discussion

Replaced or removed child nodes are released.

See Also

Manipulating Child Nodes