Swift Tutorial: enum (raw/associated values, switch & nested enums)

preview_player
Показать описание
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:

Thank you for watching!

Huge thank you to the channels below for helping me get started!
Uncreated Light Press
and

Mr. Macintosh
and

The Apple Ninja
Рекомендации по теме
Комментарии
Автор

Today let's look at enums! Thank you for your support, and please let me know if you have any questions, comments, or suggestions.

swift_goose
Автор

Another great video @Swift Goose!! thumbs up and I hit that dinner bell 👍

Mr.Macintosh
Автор

Thanks for going through nested enums!

etg
Автор

Nice video! I've watched a few in the series and plan on checking them all out. I really like the clear and laidback pace. I appreciate that they are straight to the point, practical, but fairly deep, in that you offer multiple examples and use cases. There are a lot of Swift tuts out there that are great and well known, but I think you're bringing a fresh take and tone. Keep it up!

chrisjackson
Автор

The bash part was interesting, thank you.

thewayasmr
welcome to shbcf.ru