Skip to content
0:00 / 0:00

#swiftui#navigationstack#navigationview

NavigationStack | This is how SwiftUI's navigation should've been since day one!

Swift and Tips

13K subscribers • 12 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Pedro Rojas
  • Linked in the descriptionpointfreeco/swiftui-navigation
  • May be out of date. The tools, versions or practices it shows have likely moved on.
  • An opinion. It argues one side of a question engineers disagree on.

Intermediate. Assumes working knowledge.

25K views4 years ago1 recommendation

Mobile developmentSwiftiOS and SwiftUI

Pedro Rojas explains the differences between the old NavigationView and the new NavigationStack introduced in iOS 16.

In this video, we will explore the difference between the old NavigationView vs NavigationStack announced at #WWDC22, and why this new API is astronomically better than the previous one. ------ Demos showed in the video: * Custom back button: gist.github.com/pitt500/25dd2b74d7d4c0b9616ad7da96494706 * popToRoot(): gist.github.com/pitt500/d6c85aaf826b887065fbad6d1f6a8b71 * Override Navigation: gist.github.com/pitt500/c52040dd1b250539db8c9116d2cddda0 * NavigationPath: gist.github.com/pitt500/8bc7e2f6b35226b3c7df08501dbd0a8e ------ Resources: * developer.apple.com/documentation/swiftui/view/navigationdes…(for:destination:) * developer.apple.com/documentation/SwiftUI/NavigationStack * developer.apple.com/documentation/swiftui/navigationpath * developer.apple.com/wwdc22/10054 * Pointfree's navigation alternative: github.com/pointfreeco/swiftui-navigation ------ Videos related: * State and Binding: youtu.be/R6W6sBtpphQ * any Keyword: youtu.be/Wa8xTSHX_PM * where clauses: youtu.be/BxpNrBO4ygs * Lazy Grids: youtu.be/tcOlekjPm6M ----- Contact: twitter.com/swiftandtips linkedin.com/company/swiftandtips facebook.com/swiftandtips Finally, ask me for a video you would like to see next 😄! Credits: - Music by Wataboi from pixabay.com/ - Video edited with Final Cut Pro

Why it's here

1 person recommends this

u/pitt500in r/swift • Recommends

NavigationStack | This is how SwiftUI's navigation should've been since day one!