Auto-convert enum string values to Title Case?

I asked about this: Howto: DRY way to capitalized String rawValue enum case name?

But not about plist...

I've seen in Apple example they just add a var displayName: String or var name: String getter to return properly spelled out text name.

1 Like