---
title: mutableChildren
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstreenode/mutablechildren
---

# mutableChildren

A mutable array that provides read-write access to the receiver’s child nodes.

## Declaration

```swift
var mutableChildren: NSMutableArray { get }
```

## Discussion

Discussion Nodes that are inserted into this array have their parent nodes set to the receiver. Nodes that are removed from this array automatically have their parent node set to nil. The array that is returned is observable using key-value observing.

## See Also

### Getting information about a node

- [representedObject](appkit/nstreenode/representedobject.md)
- [indexPath](appkit/nstreenode/indexpath.md)
- [isLeaf](appkit/nstreenode/isleaf.md)
- [children](appkit/nstreenode/children.md)
- [descendant(at:)](appkit/nstreenode/descendant(at:).md)
- [parent](appkit/nstreenode/parent.md)
