---
title: selectionIndexPath
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsbrowser/selectionindexpath
---

# selectionIndexPath

The index path of the item selected in the browser.

## Declaration

```swift
var selectionIndexPath: IndexPath? { get set }
```

## Discussion

Discussion When the value of this property is nil, there is no selection.

## See Also

### Managing Selection

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