Swift has enums with raw values... you do somethin...
# announcements
i
Swift has enums with raw values... you do something like
Copy code
enum MyEnum: String {
    case foo = "foo"
    case bar = "bar"
}
so the mapping is out of the box. Was wondering if there's a trick or something in Kotlin to get a similar behavior