Category Archives: SwiftUI

Funny one – but it doesn’t crash

Would you expect this SwiftUI code to crash or otherwise fail to run? struct ContentView: View { var body: some View { NavigationView { NavigationLink(destination: ContentView()) { Text(“Show another”) }.navigationBarTitle(“Recursive navigation”) } } } Nope, body property for the new … Continue reading

Posted in SwiftUI | Tagged , | Leave a comment

Small SwiftUI annoyances

Some (maybe minor) things that I’ve observed while learning SwiftUI and doing some hands on testing: When you present a set of unrelated items in a Picker (i.e. without ForEach) or a set of random tab items in a TabView (in … Continue reading

Posted in SwiftUI | Tagged | Leave a comment