Type Method


Builds an empty view from a block containing no statements.


static func buildBlock() -> EmptyView

See Also

Building Blocks

static func buildBlock<Content>(Content) -> Content

Passes a single view written as a child view through unmodified.

static func buildIf<Content>(Content?) -> Content?

Provides support for “if” statements in multi-statement closures, producing an optional view that is visible only when the condition evaluates to true.