Generic Type Method

buildEither(second:)

No overview available.

Declaration

static func buildEither<TrueContent, FalseContent>(second: FalseContent) -> _ConditionalContent<TrueContent, FalseContent> where TrueContent : View, FalseContent : View

See Also

Building Blocks

static func buildBlock() -> EmptyView

Builds an empty view from a block containing no statements.

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.