|
`@available(*, unavailable)` enum cases and switch exhaustiveness
|
|
3
|
247
|
March 21, 2026
|
|
Switching on protocols
|
|
6
|
731
|
September 11, 2025
|
|
"fallthrough" + "guard/else"
|
|
3
|
619
|
August 13, 2025
|
|
Understanding protocols + any, & how to switch to concrete types
|
|
5
|
520
|
August 13, 2025
|
|
LLDB prints wrong UUID value
|
|
3
|
311
|
March 18, 2025
|
|
Is it possible to use a value binding with a where clause in a switch case statement?
|
|
2
|
336
|
August 6, 2024
|
|
Switch exhaustivity checking doesn't understand ranges
|
|
8
|
985
|
January 24, 2024
|
|
Why is switch case optional binding syntax the way it is?
|
|
2
|
1798
|
July 25, 2023
|
|
Evolution idea: implicit return in single-line switch cases
|
|
10
|
10416
|
January 21, 2023
|
|
An alternative to the switch statement
|
|
16
|
3926
|
October 9, 2022
|
|
Implicit Binding of Associated Values in Case Statements
|
|
4
|
1198
|
January 6, 2022
|
|
Definition of "exhaustive" for switch statements?
|
|
18
|
8114
|
July 1, 2021
|
|
Swift optional unwrap string tuple
|
|
1
|
1862
|
June 10, 2021
|
|
[Idea] Switch without subject
|
|
3
|
1816
|
June 1, 2021
|
|
Switch crashes when a case has an IndexSet as associated value
|
|
6
|
1054
|
May 3, 2021
|
|
Idea: Introduce 'generic-case' to refine pattern matching of enums with associated values
|
|
0
|
1440
|
March 24, 2021
|
|
Cursed fallthrough pattern
|
|
3
|
895
|
October 9, 2020
|
|
What's the harm in not knowing that a switch statement's pattern-matching order is undefined?
|
|
4
|
1338
|
April 13, 2020
|
|
Are `switch` statements over `String` ever optimized to a hash table lookup?
|
|
2
|
1746
|
January 28, 2020
|
|
Swift's SWITCH indenting is driving me mad... any way to fix this?!
|
|
18
|
10583
|
August 5, 2019
|
|
Resume Pattern Matching in Switch Statements
|
|
25
|
5123
|
June 12, 2019
|
|
Should switch on UInt type be exhaustive for negative numbers?
|
|
5
|
1428
|
May 4, 2019
|