# Swift Tutorial on Enum Types (Episode 20)

> Episode of [CartoonSmart Tutorials](https://podistic.com/podcast/cartoonsmart-tutorials.md) · Published May 14, 2016

- **Listen on Podistic:** https://podistic.com/episode/swift-tutorial-on-enum-types-episode-20
- **Video:** http://cspodcasts.s3.amazonaws.com/Epside20%20Swift%20iOS%20Tutorial%20Enum%20Types.mov (video/quicktime)

## About this episode

In this lesson we'll look at enum type variables with Swift. These are constant variables which could be used for getting back a raw value, but in most cases, enums are simply used as identifiers, like Rank.Ace or just .Ace . Where the value isn't important, but testing whether or not a particular thing is an Ace type is important. Yes, yes, it can seem a little strange at first, but watch this iOS (or tvOS) video tutorial for Swift and you'll see how useful these can be.
