I have the following code in a file:
import SwiftUI
struct ContentView : View {
var body: some View {
HSplitView{
Text("Placeholder")
Text("Placeholder")
}
}
}
#if DEBUG
struct ContentView_Previews : PreviewProvider {
static var previews: some View {
ContentView()
}
}
#endifAnd I get "Use of unresolved identifier 'HSplitView'". Same happens with VSplitView.
Does anyone else have this issue? Is it a bug in the current version?