Pattern Matching in Swift

Wed, Apr 29

Coding Explorer:

“Patterns in Swift are, at least to me, a strange mixture of being very powerful, simple, complex, and obvious, all at the same time.”

This post includes numerous examples of the various (and there are quite a few) patterns available Swift.

Pattern Matching in Swift