Switch: Tuples + Pattern Matching

A nice quick post with examples on what can be done with tuples and pattern matching in Swift. It’s a Switch statement on steroids.
View story at Medium.com

Advertisements