In this pattern matching tutorial you’ll learn how you can use pattern matching with tuples, types, wildcards, optionals, enumeration, and expressions.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/134844/pattern-matching-in-swift