Post

Replies

Boosts

Views

Activity

Comment on How to pass a Swift Type into an Generic SwiftUI View?
Thank you for your answer! Unluckily, this is not possible, since the computed var returns an any Component and the Generic View is expecting a Component (GenericView<C: Component>). Any idea on how to workaround this?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22