Instance Method

setAccessibilitySelectedRows:

Sets the table’s currently selected rows.

Declaration

- (void)setAccessibilitySelectedRows:(NSArray<id<NSAccessibilityRow>> *)selectedRows;

Parameters

selectedRows

An array containing the row elements to be selected.

Discussion

This method is the setter for the NSAccessibility protocol’s accessibilitySelectedRows property. Implementing this method allows the user to change the selected row using an accessibility client. Additionally, your class needs to send a NSAccessibilitySelectedRowsChangedNotification notification whenever the table’s selected rows change.

See Also

Accessibility Methods

- accessibilityColumnHeaderUIElements

Returns the column header elements for the table.

- accessibilityColumns

Returns the column elements for the table.

- accessibilityHeaderGroup

Returns the header group for the table.

Deprecated
- accessibilityLabel

Returns a short description of the table.

Required.

- accessibilityRowHeaderUIElements

Returns the row header elements for the table.

- accessibilityRows

Returns the row elements for the table.

Required.

- accessibilitySelectedCells

The currently selected cells for the table.

- accessibilitySelectedColumns

The currently selected columns for the table.

- accessibilitySelectedRows

The currently selected rows for the table.

- accessibilityVisibleCells

The visible cells for the table.

- accessibilityVisibleColumns

The visible columns for the table.

- accessibilityVisibleRows

The visible rows for the table.