Posted On: Feb 22, 2018
An enum in swift is used to defines a common type for a group of related values. It enables you to work with those values in a type-safe way within your code.
Basically, it is a type that contains a group of various related values under the same umbrella.
Never Miss an Articles from us.