SwiftUI SwiftUI: Handling State in your Views In SwiftUI there are multiple ways to handle state in your views. @State @State is used when your view own this variable. When the variable changes its value, SwiftUI updates
Swift SwiftUI: Preview in Landscape Even in XCode 12, it is still not possible to run a preview in landscape. I list here two solutions I have found.. but note that with live preview, both