|
`@available(*, unavailable)` enum cases and switch exhaustiveness
|
|
3
|
191
|
March 21, 2026
|
|
Switching on protocols
|
|
11
|
596
|
September 11, 2025
|
|
"fallthrough" + "guard/else"
|
|
4
|
590
|
August 13, 2025
|
|
Understanding protocols + any, & how to switch to concrete types
|
|
5
|
444
|
August 13, 2025
|
|
LLDB prints wrong UUID value
|
|
3
|
254
|
March 18, 2025
|
|
Is it possible to use a value binding with a where clause in a switch case statement?
|
|
2
|
301
|
August 6, 2024
|
|
Switch exhaustivity checking doesn't understand ranges
|
|
8
|
901
|
January 24, 2024
|
|
Why is switch case optional binding syntax the way it is?
|
|
2
|
1745
|
July 25, 2023
|
|
Evolution idea: implicit return in single-line switch cases
|
|
10
|
10323
|
January 21, 2023
|
|
An alternative to the switch statement
|
|
16
|
3848
|
October 9, 2022
|
|
Implicit Binding of Associated Values in Case Statements
|
|
4
|
1171
|
January 6, 2022
|
|
Definition of "exhaustive" for switch statements?
|
|
18
|
7959
|
July 1, 2021
|
|
Swift optional unwrap string tuple
|
|
1
|
1832
|
June 10, 2021
|
|
[Idea] Switch without subject
|
|
3
|
1778
|
June 1, 2021
|
|
Switch crashes when a case has an IndexSet as associated value
|
|
6
|
1003
|
May 3, 2021
|
|
Idea: Introduce 'generic-case' to refine pattern matching of enums with associated values
|
|
0
|
1423
|
March 24, 2021
|
|
Cursed fallthrough pattern
|
|
3
|
868
|
October 9, 2020
|
|
What's the harm in not knowing that a switch statement's pattern-matching order is undefined?
|
|
4
|
1299
|
April 13, 2020
|
|
Are `switch` statements over `String` ever optimized to a hash table lookup?
|
|
2
|
1712
|
January 28, 2020
|
|
Swift's SWITCH indenting is driving me mad... any way to fix this?!
|
|
19
|
10390
|
August 5, 2019
|
|
Resume Pattern Matching in Switch Statements
|
|
25
|
5036
|
June 12, 2019
|
|
Should switch on UInt type be exhaustive for negative numbers?
|
|
5
|
1394
|
May 4, 2019
|