Hi,
I have one proposal for the language to add a property to enums with the total number of cases.
Example:
enum Section {
case Tag
case Article
}
let cases = Section.caseCount
This would be extremely useful when using enums for tableviews.
What do you think?
João Nunes
Sent from my iPhone