---
title: allowsEmptySelection
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsbrowser/allowsemptyselection
---

# allowsEmptySelection

A Boolean that indicates whether there can be nothing selected.

## Declaration

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

## Discussion

Discussion When the value of this property is true, the browser allows the selection to be empty.

## See Also

### Managing Selection Behavior

- [allowsBranchSelection](appkit/nsbrowser/allowsbranchselection.md)
- [allowsMultipleSelection](appkit/nsbrowser/allowsmultipleselection.md)
- [selectedRowIndexes(inColumn:)](appkit/nsbrowser/selectedrowindexes(incolumn:).md)
- [selectRowIndexes(_:inColumn:)](appkit/nsbrowser/selectrowindexes(_:incolumn:).md)
- [allowsTypeSelect](appkit/nsbrowser/allowstypeselect.md)
