setSelectionIndexPaths(_:)
Sets the tree controller’s current selection to the specified index paths.
Declaration
func setSelectionIndexPaths(_ indexPaths: [IndexPath]) -> BoolParameters
- indexPaths:
An array of Nsindexpath objects specifying the selected objects.
Return Value
Discussion
Attempting to change the selection may cause a commitEditing message which fails, thus denying the selection change.