Slide 22
Slide 22 text
@deepu105
#Devoxx2018
Enum types
enum Color {Red, Green, Blue}
let c: Color = Color.Green;
enum Color {Red = 1, Green = 2, Blue = 4}
let c: Color = Color.Green;
enum Color {Red = "RED", Green = "GREEN", Blue = "BLUE"}
let c: Color = Color.Green;