Example with a tuple of switch/case statements in Swift

let point = (55)
switch (point) {
    case (00):
        str = "(0, 0) point"
    case (_1):
        str = "(\(point.0), 1) point"
    case (1let y):
        str = "(1, \(y)) point"
    case (let x, let y) where x == y:
        str = "(\(x), \(y)) point"
    default:
        str = "other point"
}
//str is (5, 5) point