---
title: selectedCells
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsbrowser/selectedcells
---

# selectedCells

All cells selected in the rightmost column.

## Declaration

```swift
var selectedCells: [NSCell]? { get }
```

## Discussion

Discussion When the array is empty, there is no selection.

## See Also

### Managing Selection

- [selectedCell(inColumn:)](appkit/nsbrowser/selectedcell(incolumn:).md)
- [selectAll(_:)](appkit/nsbrowser/selectall(_:).md)
- [selectedRow(inColumn:)](appkit/nsbrowser/selectedrow(incolumn:).md)
- [selectRow(_:inColumn:)](appkit/nsbrowser/selectrow(_:incolumn:).md)
- [selectionIndexPath](appkit/nsbrowser/selectionindexpath.md)
- [selectionIndexPaths](appkit/nsbrowser/selectionindexpaths.md)
