Swift Enumerations (Enums)

An enum is a user-defined data type that consists of a set of related values. Enums are often used to represent a group of related options, such as the days of the week or the suits in a deck of …