Contents

TableRowBuilder

A result builder that creates table row content from closures.

Declaration

@resultBuilder struct TableRowBuilder<Value> where Value : Identifiable

Overview

The buildBlock methods in this type create TableRowContent instances based on the number and types of sources provided as parameters.

Don’t use this type directly; instead, SwiftUI annotates the rows parameter of the various Table initializers with the @TableRowBuilder annotation, implicitly calling this builder for you.

Topics

Building a row from sources

Building a row from conditionals

See Also

Creating rows