// 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
How to print() to Xcode console in SwiftUI?
Xcode 13: no more SwiftUI debug preview to see print output in console?
debug previews has been removed
Last updated 2 years ago