Have a code like:
switch (indexPath.section, indexPath.row) { case (0, 1...5): println(\"in range\") default: println(\"not at all\") }
You have to list multiple tuples at the top level:
switch (indexPath.section, indexPath.row) { case (0, 1...5), (0, 8...10), (0, 30...33): println("in range") case (0, _): println("not at all") default: println("wrong section \(indexPath.section)") }