Reading time: 1 min

This recipe shows how to implement a country picker list in SwiftUI. The list can be constructed entirely programmatically, without the need for additional data.

Continue Reading...

Reading time: 3 min

This recipe shows how to implement navigation in SwiftUI using NavigationStack. It makes both declarative and programmatic navigation dead easy, allowing for simple transitions both forwards and backwards, including a full stack unwind.

NavigationStack is SwiftUI 4 replacement for NavigationView which successfuly improves many of its predecessor's shortcomings, namely in the realm of programmatic navigation. If you're interested in a feature-rich replacement for NavigationView, check out our SwiftUI Segues recipe.

Continue Reading...

Reading time: 3 min

This recipe shows how to share in SwiftUI. It showcases the new SwiftUI 4 ShareLink, as well as providing a drop-in replacement compatible with all SwiftUI versions that internally relies on UIActivityViewController.

Continue Reading...

Reading time: 1 min

This recipe shows how to change TextEditor background color in SwiftUI.

Continue Reading...

Reading time: 1 min

This recipe shows how to change List background color in SwiftUI.

Continue Reading...