swiftui foreach enum nem todos os casos

enum Category {
    case all
    case A
    case B
    case C
    
    static let categories: [Category] = [.A, .B, .C]
}
Marco Medhat