init(_:columns:)
Creates a table that computes its rows based on a collection of identifiable data.
Declaration
nonisolated init<Data>(_ data: Data, @TableColumnBuilder<Value, Never> columns: () -> Columns) where Rows == TableForEachContent<Data>, Data : RandomAccessCollection, Columns.TableRowValue == Data.ElementParameters
- data:
The identifiable data for computing the table rows.
- columns:
The columns to display in the table.