Instance Method
addObjectsFromArray(toSelection:)addObjectsFromArrayToSelection:addObjectsFromArrayToSelection_
Adds elements to the selection, preserving their order.
Declaration
func addObjectsFromArray(toSelection objects: [any GSSelectableElementProtocol])Declaration
- (void) addObjectsFromArrayToSelection:(NSArray<NSObject<GSSelectableElementProtocol> *> *) objects;Declaration
addObjectsFromArrayToSelection_(objects: list[NSObject<GSSelectableElementProtocol>])See Also
Selection
The selected elements in selection order.
The number of selected elements.
Replaces the selection and registers the previous selection for undo.
Adds an element to the selection if it is not already selected.
Replaces the selection without registering undo.
Removes the selected element at an index.
Removes an element from the selection.
Removes elements from the selection.
Clears the selection without registering undo.
Clears the selection and registers the previous selection for undo.
Whether an element is selected.