Tag: enums
All the articles with the tag "enums".
-
Comparable enum
• 1 min readFrom Swift 5.3 and later, enums can be comparable. We can compare two cases from the enum with ``````, ```<``` and similar.
All the articles with the tag "enums".
From Swift 5.3 and later, enums can be comparable. We can compare two cases from the enum with ``````, ```<``` and similar.