TableColumnBuilder
A result builder that creates table column content from closures.
Declaration
@resultBuilder struct TableColumnBuilder<RowValue, Sort> where RowValue : Identifiable, Sort : SortComparatorOverview
The buildBlock methods in this type create TableColumnContent instances based on the number and types of sources provided as parameters.
Don’t use this type directly; instead, SwiftUI annotates the columns parameter of the various Table initializers with the @TableColumnBuilder annotation, implicitly calling this builder for you.
Topics
Building a column
buildBlock(_:)buildBlock(_:_:)buildBlock(_:_:_:)buildBlock(_:_:_:_:)buildBlock(_:_:_:_:_:)buildBlock(_:_:_:_:_:_:)buildBlock(_:_:_:_:_:_:_:)buildBlock(_:_:_:_:_:_:_:_:)buildBlock(_:_:_:_:_:_:_:_:_:)buildBlock(_:_:_:_:_:_:_:_:_:_:)buildExpression(_:)