u/pitt500in r/swift • Recommends
NavigationStack | This is how SwiftUI's navigation should've been since day one!
#swiftui#navigationstack#navigationview
13K subscribers • 12 videos on Hallway
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 Prou/pitt500in r/swift • Recommends