ViewBuilder transforms

SwiftUI โŸฉ Views โŸฉ ViewBuilder โŸฉ

// โญ๏ธ if ... else
struct ContentView: View {
    var body: some View {
        // _ConditionalContent<Text, Text>
        if true { A } else { B }
    }
}

Last updated