Enum in Swift

The term enumeration refers to a user-defined data type consisting of a set of related values that allows you to work with those values in your code in a type-safe manner. An enumerated data type is defined by the keyword enum. Syntax:
enum enum_name  
{    
// enumeration values are described here 
} 
Example: 
enum MonthsofaYear 
{    
case January 
case Februrary 
… 
case December 
} 
Values defined in an enumeration MonthsofaYear such as January, February, and so on until December are its enumeration cases. New enumeration cases can be introduced using the case keyword. You can put multiple cases on a single line, separated by commas as follows:
enum MonthsofaYear
{
   case January, February,....,December
}