Looping through enum values in Swift [duplicate] Looping through enum values in Swift [duplicate] ios ios