-
Hi We have a legacy App that we migrate to TCA. That creates two I am looking for away to create the destinations without creating a new
I have tried to use it but it seems there is private stuff you are using there. Thanks a lot |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @shannoga, I'm sorry but I do not really understand the question. A small sample project that demonstrates the problem would help. |
Beta Was this translation helpful? Give feedback.
Since navigation controllers/stacks cannot be nested, you simply cannot use
StackState
for your domain. You can use tree-based navigation, where views are pushed onto the stack via optional state, but that is quite different from how you have things structured now.Or you could look at some of the tools we have built for our UIKit navigation beta which allows you to use a stack-based controller in UIKit with TCA features and vanilla SwiftUI/UIKit features.
Unfortunately there is no easy answer here. You are going to have to do some work to disentangle things and have just a single navigation controller/view powering your features.