Having a class with a variable View doesn’t work in SwiftUI
I have a class with a variable. I want to store different views in it (TextView, ImageView etc)
I have a class with a variable. I want to store different views in it (TextView, ImageView etc)