Skip to content
Discussion options

You must be logged in to vote

Hi @havilog, we have an example of this in our isowords project. There's a custom UI component we have called BottomMenu, and it was first designed in plain, vanilla SwiftUI. This means it's driven off a binding and comes with a custom datatype that describes how to present a bottom menu.

Then we made a TCA friendly interface for the bottom menu where it takes a Store of BottomMenu domain and uses viewStore.binding to derive a binding to hand to the vanilla SwiftUI component.

Does that help?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@havilog
Comment options

@junyng
Comment options

@stephencelis
Comment options

@junyng
Comment options

Answer selected by havilog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants