static func buildBlock () -> EmptyView
Builds an empty view from a block containing no statements.
空のビューを少しも文を含んでいないブロックから組み立てます。
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.