~/talk

SwiftUI Tutorial 2024: Master Navigation - NavigationStack, NavigationPath & NavigationDestination

Talkat Swift Craft 2024 · 2024-05-21..05-24· [swift, frontend-architecture]
slides:none on file

Shows how NavigationStack plus NavigationPath and NavigationDestination replace NavigationView: a worked demo (continents → countries → detail) eliminates unwanted eager view initialization, supports programmatic pushes, and encodes the path for state restoration. Builds a Router enum (hashable + codable) to push/pop/reset and wires it into child views; uses NavigationSplitView for iPad sidebar layouts. Notes concrete limits: root view sits outside the stack, no built‑in pop‑to‑arbitrary, limited nav bar customization, and no direct modal/tab integration. Code examples compile and the demos resolve the initialization and programmatic navigation issues.

AI-written summary · about

  1. 0:00Introduction and agenda
  2. 1:37Fundamentals of navigation
  3. 3:27History of iOS navigation
  4. 5:37Limitations of NavigationView
  5. 8:24Demonstrating navigation issues
  6. 10:30Introduction to NavigationStack
  7. 13:10Implementing NavigationStack
  8. 20:57Using NavigationSplitView
  9. 27:37Programmatic navigation
  10. 29:15Advanced navigation patterns
  11. 34:32Limitations, comparisons, and takeaways
~/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.