Tag: enumerate

61 votes
30 answers
2K views
How to enumerate an enum with String type?

enum Suit: String { case spades = "♠" case hearts = "♥" case diamonds = "♦" case clubs =

avatar
Dorian
0 1 0 9
asked 07 September, 2021