Switching with Associated Values

In this post the objc.io, we learn how to use a computed property to reduce the complexity of switching on enums with associated values. Nice tip!