init(_:content:)
Creates an instance that uniquely identifies and creates table columns across updates based on the identity of the underlying data.
Declaration
init(_ data: Data, @TableColumnBuilder<TableColumnForEach<Data, ID, RowValue, Sort, Content>.TableRowValue, TableColumnForEach<Data, ID, RowValue, Sort, Content>.TableColumnSortComparator> content: @escaping (Data.Element) -> Content) where ID == Data.Element.ID, Data.Element : IdentifiableParameters
- data:
The identified data that the Tablecolumnforeach instance uses to create table columns dynamically.
- content:
The table column builder that creates columns dynamically for each element.