🔰Debugging in SwiftUI
// let/var statements in ViewBuilder
struct ContentView: View {
    var body: some View {
        let _ = print("Update body")     // ⭐️ 
        Text("Hello, World!")
    }
}- Sarunw ⟩ How to do print debugging in SwiftUI 
Last updated
Was this helpful?