Swift Enums: CaseIterable (Xcode 12, Swift 5, 2020) - iOS Development

preview_player
Показать описание
In this video we will learn about the case utterable protocol in Swift 5 and Xcode 12. CaseIterable is a great way to list out all your enumeration cases in a collection for various use cases. It allows for type safety, clean code readability, and short hand iteration.

#swift #enum #caseIterable

Join this channel to get access to perks, code, groups, and more:

** Get Skillshare free for 2 Months and learn iOS

** Manage all your investments from app earnings on Betterment!

** Grow your own Youtube tech channel with TubeBuddy:
Рекомендации по теме
Комментарии
Автор

Won't you be continuing the Instagram series? It was really helpful for me to learn so many new concepts. Looking forward to it.

harshverma
Автор

Once I land my first iOS dev job, can I send you a gift basket or something to thank you for your help in teaching me Swift? hahah Seriously, really appreciate how clear and easy to follow your tutorials are! Thank you!

JacobPernell
Автор

If we achieve same by arrays, why we prefer caseiterable?

hareeshgangadhara
Автор

I fear enums Afraz but now I'm a little bit less scared

ЯрославГрицунь
Автор

When you can make background service for hit service or make any task ?

motexdevelopers
Автор

good afternoon sorry but i have one problem with my code in my application.
the question is i crate a tableview end i create the extension for convert in pdf end print it, but when i print it is come out like e column and not cover all page.
can you help me?
thank you so much

travelfeaturedyournexttrav
Автор

Can you please continue the Instagram tutorial?

federicolobianco
Автор

I think that this is not the best way to use enums, considering that there is no difference with an array for the same example.
Probably it would be better to use it in something where the values can be static, maybe in a configuration module. because in the way that you've shown it's quite probably it will never be used it. =)

marioguerrero