Cover Image for SwiftUI Architecture Live #2 - Navigation
Cover Image for SwiftUI Architecture Live #2 - Navigation
Hosted By
5 Going

SwiftUI Architecture Live #2 - Navigation

Hosted by Mohammad Azam
Zoom
Registration
Approval Required
Your registration is subject to host approval.
Welcome! To join the event, please register below.
About Event

Navigation is a fundamental part of almost every SwiftUI application. While navigating from one screen to another can be simple, navigation can quickly become more challenging as applications introduce multiple destinations and programmatic navigation.

In this free live session, we will start with the fundamentals of navigation in SwiftUI and gradually evolve our implementation into a Router. Through live coding and practical examples, we will explore how SwiftUI manages navigation state, how routes can be modeled using enums, and how the Observation framework can be used to build a Router for more complex navigation flows.

What You'll Learn

  • Basic navigation using NavigationStack and NavigationLink

  • Using navigationDestination to define destinations

  • Programmatic navigation in SwiftUI

  • Modeling routes using enums

  • Managing navigation paths

  • Building a Router using @Observable

  • Implementing push, pop, and pop to root

  • Understanding when a Router becomes useful

By the end of the session, you will have a better understanding of how SwiftUI navigation works and how to evolve from simple navigation to a Router-based approach as your application's navigation requirements grow.

Hosted By
5 Going