Custom Types As Raw Value for Enum in Swift

From Apple language guide : Raw values can be strings, characters, or any of the integer or floating-point number types. Each raw value must be unique within its enumeration declaration. After reading these lines from Apple many people remain under impression that custom types cannot be used as Raw values for enums in Swift. Actually… Continue reading Custom Types As Raw Value for Enum in Swift