Contents

removeSelectedObjects(_:)

Removes the specified objects from the receiver’s current selection.

Declaration

func removeSelectedObjects(_ objects: [Any]) -> 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