---
title: selectedObjects
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsarraycontroller/selectedobjects
---

# selectedObjects

An array containing the receiver’s selected objects

## Declaration

```swift
var selectedObjects: [Any]! { get }
```

## Discussion

Discussion This property is observable using key-value observing.

## See Also

### Managing selections

- [selectionIndex](appkit/nsarraycontroller/selectionindex.md)
- [setSelectionIndex(_:)](appkit/nsarraycontroller/setselectionindex(_:).md)
- [selectsInsertedObjects](appkit/nsarraycontroller/selectsinsertedobjects.md)
- [setSelectionIndexes(_:)](appkit/nsarraycontroller/setselectionindexes(_:).md)
- [selectionIndexes](appkit/nsarraycontroller/selectionindexes.md)
- [addSelectionIndexes(_:)](appkit/nsarraycontroller/addselectionindexes(_:).md)
- [removeSelectionIndexes(_:)](appkit/nsarraycontroller/removeselectionindexes(_:).md)
- [setSelectedObjects(_:)](appkit/nsarraycontroller/setselectedobjects(_:).md)
- [addSelectedObjects(_:)](appkit/nsarraycontroller/addselectedobjects(_:).md)
- [removeSelectedObjects(_:)](appkit/nsarraycontroller/removeselectedobjects(_:).md)
- [selectNext(_:)](appkit/nsarraycontroller/selectnext(_:).md)
- [canSelectNext](appkit/nsarraycontroller/canselectnext.md)
- [selectPrevious(_:)](appkit/nsarraycontroller/selectprevious(_:).md)
- [canSelectPrevious](appkit/nsarraycontroller/canselectprevious.md)
