---
title: canAddChild
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstreecontroller/canaddchild
---

# canAddChild

A Boolean value that indicates if a child object can be added to the tree controller’s content.

## Declaration

```swift
var canAddChild: Bool { get }
```

## Discussion

Discussion The value of this property is true if a child object can be added to the tree controller’s content. This property is observable using key-value observing.

## See Also

### Adding, inserting and removing objects

- [add(_:)](appkit/nstreecontroller/add(_:).md)
- [addChild(_:)](appkit/nstreecontroller/addchild(_:).md)
- [canInsert](appkit/nstreecontroller/caninsert.md)
- [canInsertChild](appkit/nstreecontroller/caninsertchild.md)
- [insert(_:)](appkit/nstreecontroller/insert(_:).md)
- [insertChild(_:)](appkit/nstreecontroller/insertchild(_:).md)
- [insert(_:atArrangedObjectIndexPath:)](appkit/nstreecontroller/insert(_:atarrangedobjectindexpath:).md)
- [insert(_:atArrangedObjectIndexPaths:)](appkit/nstreecontroller/insert(_:atarrangedobjectindexpaths:).md)
- [remove(_:)](appkit/nstreecontroller/remove(_:).md)
- [removeObject(atArrangedObjectIndexPath:)](appkit/nstreecontroller/removeobject(atarrangedobjectindexpath:).md)
- [removeObjects(atArrangedObjectIndexPaths:)](appkit/nstreecontroller/removeobjects(atarrangedobjectindexpaths:).md)
- [move(_:to:)](appkit/nstreecontroller/move(_:to:)-s5xp.md)
- [move(_:to:)](appkit/nstreecontroller/move(_:to:)-moi9.md)
