what is Swift Enumeration !

what is Swift Enumeration !

An enumeration is a user-defined data type which consists of set of related values. Keyword enum is used to defined enumerated data type.

Enumeration in swift also resembles the structure of C and Objective C.

It is declared in a class and its values are accessed through the instance of that class.

Initial member value is defined using enum intializers.

Its functionality is also extended by ensuring standard protocol functionality.