SwiftUI Switch statement – Ios swift
How can I present in swiftUI a view in a switch case? import Foundation enum SideMenuViewModel: Int, CaseIterable, Decodable { case Home case Users case TODOs case AboutUs var title: String { switch self { case .Home: return "Home" case…