Dynamic navigation in modularised iOS apps
summary
Shows a modular movie app (three independent SPM feature packages: movies, media detail, TV) that uses a simple router resolves registered paths approach for SwiftUI and recommends the coordinator pattern for UIKit. Routes and view destinations are registered at the app entry point (register routes in app entry point) and forgetting one causes a crash; lazy registration is suggested for large numbers. Includes a shared design-system package for fonts, colors and assets, passes data via router/coordinator, and publishes the demo on GitHub where it runs.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:37About the speaker
- 3:04Why modularize apps
- 8:31Navigation challenges in modular apps
- 12:48Coordinator pattern in UIKit
- 18:35Router pattern in SwiftUI
- 21:10Demo: Movie app setup
- 23:21Implementing the router
- 26:16Registering routes in app
- 28:46Router flexibility beyond navigation
- 31:42Summary and Q&A
related talks
38mFly Me To The View
32mOne navigator to rule them all
42mBuilding with the Navigation SDK on iOS
38mConvenient and Extensible Routing in an iOS App
46mModular by Design: A Pragmatic Architecture for Multi Mobile iOS App Portfolios
44mNavigation in SwiftUI
32mSwiftUI Navigation Demystified
23mWriting Your UI Swiftly
