Generic Type Method

buildBlock(_:_:_:_:_:_:_:_:_:_:)

No overview available.

Declaration

static func buildBlock<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3, _ c4: C4, _ c5: C5, _ c6: C6, _ c7: C7, _ c8: C8, _ c9: C9) -> TupleView<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9)> where C0 : View, C1 : View, C2 : View, C3 : View, C4 : View, C5 : View, C6 : View, C7 : View, C8 : View, C9 : View

See Also

Building Blocks

static func buildBlock() -> EmptyView

Builds an empty view from a block containing no statements.

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

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

Beta
static func buildEither<TrueContent, FalseContent>(first: TrueContent) -> ConditionalContent<TrueContent, FalseContent>

Provides support for “if” statements in multi-statement closures, producing conditional content for the “then” branch.

Beta
static func buildEither<TrueContent, FalseContent>(second: FalseContent) -> ConditionalContent<TrueContent, FalseContent>

Provides support for “if-else” statements in multi-statement closures, producing conditional content for the “else” branch.

Beta
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.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software