Navigation is an essential component of any application, and with SwiftUI, Apple introduced NavigationLink and NavigationView to allow us to create routers with ease.
In this episode we build an app to app to track Dad Jokes, first using navigation views and lists, then porting it to macOS using Catalyst and native macOS SwiftUI, and finally adding in custom UI with gestures and more.
In this SwiftUI video, you'll learn how to display a list of data, navigate between two views and pass data between them.
...In this SwiftUI video, you'll learn how to display a list of data, navigate between two views and pass data between them.
Most of our apps are more than just a single screen app. We use the navigation to connect different screens inside the app. SwiftUI provides us NavigationLink struct that we can use to link views. This week we will learn how to use NavigationLink more efficiently than before by making it lazy.
Part three: navigation and presentation
SwiftUIKit adds extra functionality to SwiftUI, like extensions to existing types and completely new views, pickers, utilites, services etc. SwiftUIKit is divided into these areas: Blurs, Cameras, Data, Extensions, Gestures, Navigation, Pickers, Presentation, Sharing, Styles Views
We already covered master-detail navigation in SwiftUI on my blog. But today, I want to talk about the new three-column navigation that landed this year into iOS and macOS worlds. We will learn how to build a sidebar navigation flow by using NavigationView in SwiftUI.
In this tutorial, we’ll look at the basics of SwiftUI and explore how to create navigation views, images, texts, and lists by building a simple contact list that shows all our tutorial team members.