|
Switching on protocols
|
|
11
|
509
|
September 11, 2025
|
|
"fallthrough" + "guard/else"
|
|
4
|
558
|
August 13, 2025
|
|
Understanding protocols + any, & how to switch to concrete types
|
|
5
|
332
|
August 13, 2025
|
|
LLDB prints wrong UUID value
|
|
3
|
174
|
March 18, 2025
|
|
Is it possible to use a value binding with a where clause in a switch case statement?
|
|
2
|
263
|
August 6, 2024
|
|
Switch exhaustivity checking doesn't understand ranges
|
|
8
|
829
|
January 24, 2024
|
|
Why is switch case optional binding syntax the way it is?
|
|
2
|
1657
|
July 25, 2023
|
|
Evolution idea: implicit return in single-line switch cases
|
|
10
|
10184
|
January 21, 2023
|
|
An alternative to the switch statement
|
|
16
|
3734
|
October 9, 2022
|
|
Implicit Binding of Associated Values in Case Statements
|
|
4
|
1139
|
January 6, 2022
|
|
Definition of "exhaustive" for switch statements?
|
|
18
|
7750
|
July 1, 2021
|
|
Swift optional unwrap string tuple
|
|
1
|
1793
|
June 10, 2021
|
|
[Idea] Switch without subject
|
|
3
|
1735
|
June 1, 2021
|
|
Switch crashes when a case has an IndexSet as associated value
|
|
6
|
944
|
May 3, 2021
|
|
Idea: Introduce 'generic-case' to refine pattern matching of enums with associated values
|
|
0
|
1410
|
March 24, 2021
|
|
Cursed fallthrough pattern
|
|
3
|
837
|
October 9, 2020
|
|
What's the harm in not knowing that a switch statement's pattern-matching order is undefined?
|
|
4
|
1266
|
April 13, 2020
|
|
Are `switch` statements over `String` ever optimized to a hash table lookup?
|
|
2
|
1671
|
January 28, 2020
|
|
Swift's SWITCH indenting is driving me mad... any way to fix this?!
|
|
19
|
10178
|
August 5, 2019
|
|
Resume Pattern Matching in Switch Statements
|
|
25
|
4929
|
June 12, 2019
|
|
Should switch on UInt type be exhaustive for negative numbers?
|
|
5
|
1375
|
May 4, 2019
|