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 buildEither <TrueContent , FalseContent >(first: TrueContent ) -> _ConditionalContent <TrueContent , FalseContent >
Provides support for “if” statements in multi-statement closures, producing conditional content for the “then” branch.
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.
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
.static func buildLimitedAvailability <Content>(Content) -> AnyView
Provides support for “if” statements with
#available()
clauses in multi-statement closures, producing conditional content for the “then” branch, i.e. the conditionally-available branch.