-
I have my own existing Design System. so I have to present the alert with specific design and want to migrate it to TCA. but so I'm wondering if I could present a custom view, not AlertState, when presenting an alert. Is it impossible? or Is it being prepared? or shoud I custom AlertState? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @havilog, we have an example of this in our isowords project. There's a custom UI component we have called Then we made a TCA friendly interface for the bottom menu where it takes a Does that help? |
Beta Was this translation helpful? Give feedback.
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
ofBottomMenu
domain and usesviewStore.binding
to derive a binding to hand to the vanilla SwiftUI component.Does that help?