Swift Tutorial on Enum Types (Episode 20)
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.
More from CartoonSmart Tutorials
SceneKit, ARKit and Swift 4 – Basics Tutorial – Part 2 – Hit Testing In this second video in our SceneKit and ARKit basics series, we’ll look at a few SCNActions used to delay adding content to the sc…
SceneKit and ARKik – Basics Tutorial – Part 1 In this first video tutorial using the ARKit and SceneKit template, we’ll remove the starting assets and build a simple box and ball scene. We will use Sw…
Adobe Animate CC 2018 – Basic Tutorials – Part 1 In this Adobe Animate basics video tutorial, we’ll discuss the selection and sub-selection tools, which are essential for manipulation vector points in…
How to Ink then Shade a Clothing Heavy Comic Book Character – Part 2 In this second video we’ll ink and shade the clothing of the character we sketched in part 1. Subscribers can continue watching Par…
How to Ink then Shade a Clothing Heavy Comic Book Character – Part 1 The initial sketch of a comic book character illustration we’ll color and shade in future video tutorials. Recorded in real time.