Point-Free on Twitter: "Swift definitely favors structs over enums, and to see that look no further than tuples. Swift provides a language-level feature and special syntax for creating anonymous structs, and this
![Benedikt Terhechte on Twitter: "Easy way of testing types in Swift with a ` switch`. I always thought you'd need to do 'case let a where a is String` https://t.co/LMnVjKI7UZ" / Twitter Benedikt Terhechte on Twitter: "Easy way of testing types in Swift with a ` switch`. I always thought you'd need to do 'case let a where a is String` https://t.co/LMnVjKI7UZ" / Twitter](https://pbs.twimg.com/media/Cd8_xHPUkAADd-i.jpg)
Benedikt Terhechte on Twitter: "Easy way of testing types in Swift with a ` switch`. I always thought you'd need to do 'case let a where a is String` https://t.co/LMnVjKI7UZ" / Twitter
![How to use switch statements to check multiple conditions - a free Swift for Complete Beginners tutorial How to use switch statements to check multiple conditions - a free Swift for Complete Beginners tutorial](https://i.ytimg.com/vi/cDpJy4Y7OYE/mqdefault.jpg)
How to use switch statements to check multiple conditions - a free Swift for Complete Beginners tutorial
![xcode - Swift using if on an enum resulting in error not convertible to '_ArrayCastKind' - Stack Overflow xcode - Swift using if on an enum resulting in error not convertible to '_ArrayCastKind' - Stack Overflow](https://i.stack.imgur.com/a5ToG.png)