Students Save 30%! Learn & create with unlimited courses & creative assets Students Save 30%! Save Now

6.1 Enumerations

Like most other object-oriented languages, Swift allows you to create new datatypes to model application functionality or the real world. The most basic way to begin to create a new datatype is an enumeration. In this lesson, I'll show you how to define a custom enumeration.