I love working with enums in Swift. While that may sound odd, I feel enums are undervalued and developers miss out on some of their nicer applications, especially when combined with associated values.
The networking layer we build in Building a Modern Networking Layer in Swift relies heavily on enums and associated values. In this episode, I would like to show you another neat application of enums and how they can help you create flexible, elegant APIs that are a pleasure to use.