Contents

selectAll(_:)

Selects all rows or all columns, according to whether rows or columns were most recently selected.

Declaration

func selectAll(_ sender: Any?)

Parameters

  • sender:

    Typically the object that sent the message.

Discussion

If the table allows multiple selection, this action method selects all rows or all columns, according to whether rows or columns were most recently selected. If nothing has been recently selected, this method selects all rows. If this table doesn’t allow multiple selection, this method does nothing.

If the selection does change, this method posts selectionDidChangeNotification to the default notification center.

As a target-action method, selectAll(_:) checks with the delegate before changing the selection.

See Also

Related Documentation

Selecting Columns and Rows