iOS Swift - SwiftUI Basics
What is wrong with this SwiftUI view code?
struct TestView: View {
var body: some View {
VStack {
Text("Line 1")
Text("Line 2")
}
}
var body: some View {
Text("Duplicate")
}
}