Post not yet marked as solved
Post marked as unsolved with 3 replies, 423 views
Hello everyone.Is it me or Picker inside List cause signal SIGABRT and message in terminal "precondition failure: Graph has been deallocated."?Environment is macOS 10.15 beta 4, xcode 11 beta 4.Here is sample code:struct ContentView: View {
enum Mode {
case first, second
}
@State var mode: Mode = .first
var body: some View {
List {
Picker("value", selection: $mode) {
Text("first").tag(Mode.first)
Text("second").tag(Mode.second)
}
}
.frame(maxWidth: .infinity, maxHeight: .infinity)
}
}