allowsEmptySelection
A Boolean value indicating whether the collection view may have no selected items.
Declaration
var allowsEmptySelection: Bool { get set }Discussion
The default value of this property is true, which allows the collection view to have no selected items. Setting this property to false causes the collection view to always leave at least one item selected.