Swift LanguageEnums

Remarks

Like structs and unlike classes, enums are value types and are copied instead of referenced when passed around.

For more information about enums, see The Swift Programming Language.

Related Examples

Basic enumerations