swiftui foreach enum no todos los casos
enum Category {
case all
case A
case B
case C
static let categories: [Category] = [.A, .B, .C]
}
Marco Medhat