[swift-evolution] [Proposal] Enums with stored properties
kenny_leung at pobox.com
Mon Oct 10 12:31:05 CDT 2016
This is the way Java enumerations work.
I think it is a good model, and I think Swift enumerations should also work the same way.
An enumeration is a finite set of things. It’s really inconvenient to have to limit those things to have only a single attribute.
More information about the swift-evolution