~/talk

SwiftUI Navigation Demystified

Talkat SwiftLeeds 2023 · 2023-10-09..10-10· [ios, frontend-architecture]
links:none on file
slides:none on file

Shows how replacing NavigationView with NavigationStack plus a stateful NavigationPath and NavigationLink(value:) actually enables programmatic navigation, popping to root by clearing the path, and requires making your models Hashable. Demonstrates modeling navigation as enum destinations kept in an ObservableObject so sheets/popovers/alerts can be triggered from deep links, and integrates the community SwiftUI-Navigation package (AT3) to map case paths to destinations so deep-linking and complex presentations work reliably.

AI-written summary · about

  1. 0:00Introduction
  2. 1:49What is navigation
  3. 3:36Navigation components
  4. 5:03Pre iOS 16 navigation
  5. 8:41Post iOS 16 navigation
  6. 10:27Live coding demo
  7. 15:56Navigation stack conversion
  8. 18:48Deep linking basics
  9. 21:40Other navigation components
  10. 22:26SwiftUI Navigation library
  11. 23:37Deep link demo
  12. 27:50Compiler-driven navigation
  13. 30:30Resources and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.