Posts

Post not yet marked as solved
1 Replies
650 Views
Entering the following simple code, in a default SwiftUI iOS project, causes the preview to consistently crash: struct ContentView: View {     var body: some View {         VStack {             Text("Hello, world!")             padding()             Text("Another Line")         }     } } I know "padding()" should be "spacer()", but this simple syntax error should just show an error, not crash the preview
Posted
by johnt519.
Last updated
.