The two classes have to be sperate.
Can you explain why?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: