If

public struct If : SwiftUIView
extension If: CustomStringConvertible

Undocumented

Initialization

  • Undocumented

    Declaration

    Swift

    public init<TrueView: View, FalseView: View>(
        _ condition: Value<Bool>,
        then trueView: TrueView,
        else falseView: FalseView
    )
  • Undocumented

    Declaration

    Swift

    public init<TrueView: View>(
        _ condition: Value<Bool>,
        then trueView: TrueView
    )
  • Undocumented

    Declaration

    Swift

    public init<FalseView: View>(
        _ condition: Value<Bool>,
        else falseView: FalseView
    )

Methods

  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws

CustomStringConvertible

  • Declaration

    Swift

    public var description: String { get }

View

  • Undocumented

    Declaration

    Swift

    public var view: some SwiftUI.View { get }