SwiftUI Tutorial: Navigation | Kodeco

In this tutorial, you’ll use SwiftUI to implement the navigation of a master-detail app. You’ll learn how to implement a navigation stack, a navigation bar button, a context menu and a modal sheet.


This is a companion discussion topic for the original entry at https://www.kodeco.com/40323909-swiftui-tutorial-navigation

Thank you fbrancati for the tutorial upgrade for SwiftUI Navigation. One typo in the tutorial in the ‘Navigating to the Detail View’ section: you mention NavigationView, which I believe is deprecated. The code sample has NavigationStack, which I believe is preferred. FYI.
Thanks!

1 Like

Thanks for the feedback! I updated the article by using NavigationStack :wink:

Could you explain with different examples about the - Tools for Data Flow ? Thanks

SwiftUI provides several tools to help you manage the flow of data in your app.

Property wrappers augment the behavior of variables. SwiftUI-specific wrappers — @State, @Binding, @ObservedObject and @EnvironmentObject — declare a view’s dependency on the data represented by the variable.

Hey @samwin, I think that this article is what you are looking for SwiftUI Property Wrappers | Kodeco :smiley: