A Boolean value that indicates whether the user may select more than one item in the collection view.
SDK
- macOS 10.5+
Framework
- App
Kit
Declaration
var allowsMultipleSelection: Bool { get set }
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.