In this Swift tutorial video we'll look at enumerations / enum. We'll see how to use enum with raw values and associated values, using them in switch statements, and finally how to work with nested enums.
00:00 Intro
00:24 Basic enum
00:57 Enum with raw values
01:50 Enum with associated values
05:16 Switch with enum
11:37 End
Subscribe for more content, as I will be creating more tutorial and how-to videos for coding in Swift, as well as longer tutorials on building macOS apps.
If you'd like to support my work to help me improve video quality and bring more content, please consider donating to my PayPal:
https://www.paypal.com/paypalme/Swift...
Thank you for watching!
Huge thank you to the channels below for helping me get started!
Uncreated Light Press
/ @uncreatedlightpress4142
and
Mr. Macintosh
/ @mr.macintosh
and
The Apple Ninja
/ jessetheappleninja