EPISODE · May 14, 2016
Swift Tutorial on Enum Types (Episode 20)
from CartoonSmart Tutorials · host Justin Dike
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.
Embed this episode
Ready to play
Swift Tutorial on Enum Types (Episode 20)
No transcript for this episode yet
Similar Episodes
No similar episodes found.