Instance Method

accessibilitySelectedCells()

The currently selected cells for the table.

Declaration

optional func accessibilitySelectedCells() -> [Any]?

Return Value

An array containing the currently selected cells for the table.

Discussion

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

See Also

Accessibility Methods

func accessibilityColumnHeaderUIElements() -> [Any]?

Returns the column header elements for the table.

func accessibilityColumns() -> [Any]?

Returns the column elements for the table.

func accessibilityHeaderGroup() -> String?

Returns the header group for the table.

Deprecated
func accessibilityLabel() -> String?

Returns a short description of the table.

Required.

func accessibilityRowHeaderUIElements() -> [Any]?

Returns the row header elements for the table.

func accessibilityRows() -> [NSAccessibilityRow]?

Returns the row elements for the table.

Required.

func accessibilitySelectedColumns() -> [Any]?

The currently selected columns for the table.

func accessibilitySelectedRows() -> [NSAccessibilityRow]?

The currently selected rows for the table.

func accessibilityVisibleCells() -> [Any]?

The visible cells for the table.

func accessibilityVisibleColumns() -> [Any]?

The visible columns for the table.

func setAccessibilitySelectedRows([NSAccessibilityRow])

Sets the table’s currently selected rows.