NavigationSplitView support? #2894
-
Hi there community. Im having some troubles to integrate NavigationSplitView to a TCA aligned arch. What I tried so far is one link on stack overflow. The thing is that he uses the same destination but in my case I have 2 different views. On one side you have 2 possible destinations, so I applied somehow what the link described and got it working but I'm experiencing some issues of course with that approach. Is there an example that approaches this the TCA way? At least the minimum essential to get started. System
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Hi @Alexminator99, I am not aware of any TCA-specific problems having to do with If you do know how to accomplish this in vanilla SwiftUI then perhaps you can provide a minimal, compiling example of it using only the tools from SwiftUI. Then someone can help you adapt it to TCA. |
Beta Was this translation helpful? Give feedback.
-
Hi @Alexminator99, I have found this example very helpful in my own split view setup with TCA: https://github.com/kodydeda4/TCA-NavigationSplitView |
Beta Was this translation helpful? Give feedback.
-
I recently started exploring TCA and ran into a problem with understanding how to use NavigationSplitView in TCA. I'm going through all the discussions and checking those links right now. I really appreciate how many people are actively contributing to discussions and PRs here and on Slack. This is super helpful 🙌 |
Beta Was this translation helpful? Give feedback.
-
This solution migrated to 1.9 works like a charm. Thanks a lot my friend!!!. |
Beta Was this translation helpful? Give feedback.
Hi @Alexminator99, I have found this example very helpful in my own split view setup with TCA: https://github.com/kodydeda4/TCA-NavigationSplitView