---
title: allowsMultipleSelection
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscollectionview/allowsmultipleselection
---

# allowsMultipleSelection

A Boolean value that indicates whether the user may select more than one item in the collection view.

## Declaration

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

## Discussion

Discussion The value of this property is true if the collection view supports the selection of more than one item at a time. The default value of this property is false. Changing the value from true to false reduces the current selection to the first item in the selected group.

## See Also

### Managing the Selection

- [isSelectable](appkit/nscollectionview/isselectable.md)
- [allowsEmptySelection](appkit/nscollectionview/allowsemptyselection.md)
- [selectionIndexPaths](appkit/nscollectionview/selectionindexpaths.md)
- [selectAll(_:)](appkit/nscollectionview/selectall(_:).md)
- [deselectAll(_:)](appkit/nscollectionview/deselectall(_:).md)
- [selectItems(at:scrollPosition:)](appkit/nscollectionview/selectitems(at:scrollposition:).md)
- [deselectItems(at:)](appkit/nscollectionview/deselectitems(at:).md)
