Pinchflat

A Full Tour of NavigationStack , NavigationLink and navigationDestination - SwiftUI tutorial

Raw Attributes

Source: LärMigSwift
  • culled_at: 2025-04-19T01:00:00Z
  • uuid: 496c3e45-0ae0-4639-9b86-e870f836b65a
  • subtitle_filepaths:
  • media_redownloaded_at:
  • description: WWDC 2022 gave us a new Navigation API. In this SwiftUI tutorial I will show extended examples for NavigationStack. This works with the new value-based NavigationLink and navigationDestination. NavigationStack allows access to the NavigationPath, which you can use to implement programmatic navigation. It is much easier and cleaner to use than the deprecated NavigationView. 👉 read the corresponding blog post https://www.swiftyplace.com/blog/better-navigation-in-swiftui-with-navigation-stack Additional resources: WWDC The SwiftUI cookbook for navigation https://developer.apple.com/videos/play/wwdc2022/10054/ Overview 00:00 introduction 03:45 project set up 05:47 NavigationLink with value and navigationDestination 15:17 multilevel navigation stack 16:19 programmatic navigation with NavigationPath 21:46 custom back button 28:07 NavigationStack with custom type NavigationPath 35:04 complex navigation state 56:45 state restoration with @SceneStorage, Combine and Async Await 1:08:58 summary If you liked what you learned and you want to see more, check out one of my courses! 👨‍💻 my SwiftUI course https://learn.swiftyplace.com/swiftui-layout-course 👨‍💻 my Core Data and SwiftUI course https://learn.swiftyplace.com/swiftui-core-data-mastery-course ⬇️ Project files: https://github.com/gahntpo/NavigationStackProject #SwiftUI #Navigation #NavigationStack
  • title: A Full Tour of NavigationStack , NavigationLink and navigationDestination - SwiftUI tutorial
  • id: 6479
  • thumbnail_filepath:
  • inserted_at: 2024-10-20T16:38:06Z
  • updated_at: 2025-04-19T01:00:00Z
  • original_url: https://www.youtube.com/watch?v=piAiy5vlC9k
  • short_form_content: false
  • uploaded_at: 2022-11-15T13:00:24Z
  • predicted_media_filepath: /downloads/LärMigSwift/Season 2022/s2022e111500 - A Full Tour of NavigationStack , NavigationLink and navigationDestination - SwiftUI tutorial.mp4
  • livestream: false
  • nfo_filepath:
  • media_filepath:
  • source_id: 10
  • media_downloaded_at: 2024-10-20T16:49:45Z
  • duration_seconds: 4171
  • last_error:
  • prevent_download: true
  • media_id: piAiy5vlC9k
  • matching_search_term:
  • metadata_filepath:
  • tasks:
  • playlist_index: 0
  • prevent_culling: false
  • upload_date_index: 0
  • media_size_bytes: 230622978

Nothing Here!