How to use a Switch Statement in Swift | Beginner
Sean Allen
0:00 / 0:00
How to use a Switch Statement in Swift | Beginner
8 334 просмотра · 6 лет назад
Sean Allen
171 тыс. подписчиков
8 334 просмотра · 6 лет назад
Check out more information on Devmountain:
http://bit.ly/35Tzs9K
In today's beginner Swift tutorial we discuss how to use a switch statement. I show you how to use a switch statement with an enum and with a number range (like a ranking system in a video game). We also discuss how to use compound cases as well as the fallthrough keyword.
This tutorial was created in Xcode 11.3 and Swift 5.1.
If you like my teaching style, I've released my first iOS dev course which is all about the take-home project job interview for iOS developers.
Course Info - https://seanallen.teachable.com/?vide...
Link to my book - How I Became an iOS Developer:
https://gumroad.com/l/sean-allen-origin
Hired.com:
https://hired.com/x/1n01g
Check out my podcast, iOS Dev Discussions:
https://itunes.apple.com/us/podcast/i...
Are you a gamer? I'm streaming video games on Twitch:
twitch.tv/seanallen
Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):
Ray Wenderlich Books:
https://store.raywenderlich.com/a/208...
Ray Wenderlich Videos:
https://store.raywenderlich.com/a/208...
Mark Moeykens SwiftUI Views & Animations Mastery:
https://www.bigmountainstudio.com/a/f...
Paul Hudson's Hacking With Swift:
https://gumroad.com/a/762098803
Donny Wals - Combine Framework:
https://gumroad.com/a/909014131
Learn Advanced Swift Here:
https://gumroad.com/a/656585843
Links to my iOS Dev Setup & iOS Dev Book Recommendations
https://www.amazon.com/shop/seanallen
Personal Links:
Twitter:
/ seanallen_dev
Instagram:
@seanallen_dev
#swift #softwaredeveloper #iosdeveloper