Contents

addSelectionIndexes(_:)

Adds the objects at the specified indexes in the receiver’s content array to the current selection.

Declaration

func addSelectionIndexes(_ indexes: IndexSet) -> Bool

Return Value

true if the selection was changed.

Discussion

Attempting to change the selection may cause a commitEditing() message which fails, thus denying the selection change.

See Also

Managing selections