Contents

selectionIndexes

The indexes of the currently selected items.

Declaration

var selectionIndexes: IndexSet { get set }

Discussion

Whenever possible, use the selectionIndexPaths property instead of this one to set selections.

This property is observable using key-value observing.

See Also

Legacy Collection View Support