Switch | Notion
Switch
Switch and Optionals
Basic Use
Using the where statement in a switch
Partial matching
Matching a Range
Matching Multiple Values
Satisfy one of multiple constraints using switch
Switch and Enums
Switches and tuples
Matching based on class - great for prepareForSegue
Switch fallthroughs