Enums & Raw Values Why Swift enums with associated values don't have a rawValue

An enumeration – short: an enum – is a collection of distinct values that somehow belong together, for example a list of airports: enum Airport { case munich case sanFrancisco case singapore } Traditionally, each enum case was only a label for an Integer value. These labels were only necessary to make the code readable […]