addSelectedObjects(_:)
Adds the specified objects from the receiver’s content array to the current selection.
Declaration
func addSelectedObjects(_ objects: [Any]) -> BoolReturn 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.