Home > AI > IOS > SwiftUI >

@EnvironmentObject in PreviewProvider

struct ToolView_Previews: PreviewProvider {
    static let home = HomeGlobal()
    
    static var previews: some View {
        ToolView(home: home)
    }
}

Leave a Reply