---
title: "selectNext(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsarraycontroller/selectnext(_:)"
---

# selectNext(_:)

Selects the next object, relative to the current selection, in the receiver’s arranged content.

## Declaration

```swift
@IBAction func selectNext(_ sender: Any?)
```

## Discussion

Discussion The sender is typically the object that invoked this method. Special Considerations Beginning with OS X v10.4 the result of this method is deferred until the next iteration of the runloop so that the error presentation mechanism (see Error Responders and Error Recovery) can provide feedback as a sheet.

## 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)
- [selectedObjects](appkit/nsarraycontroller/selectedobjects.md)
- [addSelectedObjects(_:)](appkit/nsarraycontroller/addselectedobjects(_:).md)
- [removeSelectedObjects(_:)](appkit/nsarraycontroller/removeselectedobjects(_:).md)
- [canSelectNext](appkit/nsarraycontroller/canselectnext.md)
- [selectPrevious(_:)](appkit/nsarraycontroller/selectprevious(_:).md)
- [canSelectPrevious](appkit/nsarraycontroller/canselectprevious.md)
