Contents

init(of:columns:rows:)

Creates a table with the given columns and rows that generates its contents using values of the given type.

Declaration

nonisolated init(of valueType: Value.Type, @TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows)

Parameters

  • valueType:

    The type of value used to derive the table’s contents.

  • columns:

    The columns to display in the table.

  • rows:

    The rows to display in the table.

See Also

Creating a table from columns and rows