Stack/tree-based navigation use #2445
-
Updating a TCA app use all the wonderful new features in TCA 1.0 I find as I follow the latest Standup video series and have a couple of best-practices questions. Standups uses stack-based navigation but after reading the stack-based and tree-based documentation I am on the fence which way to go:
Like Standups I have an identified array of items that I would like to drill-down and show a detailed view but using the tree-based method. The Standup code to do this is:
If anyone can point out the changes I need to make the stack-based Standups code work in a tree-based world or can direct me to working code I would very much appreciate it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, if you are using stack-based navigation, then each tab feature would maintain its own navigation path.
If you are are targeting iOS <16, then you can use We have a few examples of using these tools. For example, the "Multiple Destinations" case study and PresentationTestCase.swift integration test both show how to use |
Beta Was this translation helpful? Give feedback.
Yes, if you are using stack-based navigation, then each tab feature would maintain its own navigation path.
If you are are targeting iOS <16, then you can use
NavigationLinkStore
to drive nav…