Navigation between SwiftUI views and UIKit Views #261
Unanswered
ynieSalesforce
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Our app currently has a blend of UIKit views and SwiftUI views that are hosted within UIHostingViewControllers. Our current way of navigating within the SwiftUI views is by using a calling a delegate to the containing view controller for it to handle the navigation. In addition, our SwiftUI views are using TCA to handle its logic. In the features that use SwiftUI only views, we’re able to leverage stack-based navigation.
For our features that have both SwiftUI and UIKit features, are we able to leverage Swift-Navigation to observe changes in either the stack path or the destination in the state of the feature?
I did see this discussion, and wondering if there's been any updates with any additional tools either on TCA or with swift-navigation.
For example:
And then the destination code:
Beta Was this translation helpful? Give feedback.
All reactions