Enum (Enumerations) by Example - Swift Programming Language
An enumeration defines a common type for a group of related values and enables you to work with those values in a type-safe way within your code. Types of Enumeration: * Basic Enumerations * Enumerations with Raw Values * Enumerations with Associated Values 1. Basic Enumerations 1.1 Create an enumerations * To