Contents

accessibilitySelectedRows()

Returns the currently selected rows for the table.

Declaration

optional func accessibilitySelectedRows() -> [any NSAccessibilityRow]?

Return Value

An array containing the currently selected rows for the table.

Discussion

This method is the getter for the NSAccessibilityProtocol protocol’s accessibilitySelectedRows property. Additionally, your class needs to send a selectedRowsChanged notification whenever the table’s selected rows change.

See Also

Supporting Accessibility