Thank you, this seems to work. I'm not a Swift expert and I'm not claiming that the first example of code should work or even compile. But why would we trade a compiler error for a runtime crash, seems weird to me.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: