---
title: selectsInsertedObjects
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstreecontroller/selectsinsertedobjects
---

# selectsInsertedObjects

A Boolean value that indicates whether the tree controller automatically selects objects as they are inserted.

## Declaration

```swift
var selectsInsertedObjects: Bool { get set }
```

## Discussion

Discussion The default value of this property is true. This property is observable using key-value observing.

## See Also

### Managing Selections

- [addSelectionIndexPaths(_:)](appkit/nstreecontroller/addselectionindexpaths(_:).md)
- [removeSelectionIndexPaths(_:)](appkit/nstreecontroller/removeselectionindexpaths(_:).md)
- [avoidsEmptySelection](appkit/nstreecontroller/avoidsemptyselection.md)
- [preservesSelection](appkit/nstreecontroller/preservesselection.md)
- [alwaysUsesMultipleValuesMarker](appkit/nstreecontroller/alwaysusesmultiplevaluesmarker.md)
