Swift For Beginners - Loops (For, While, Repeat)
Sean Allen
0:00 / 0:00
Swift For Beginners - Loops (For, While, Repeat)
14 283 просмотра · 6 лет назад
Sean Allen
171 тыс. подписчиков
14 283 просмотра · 6 лет назад
Check out more information on Devmountain:
http://bit.ly/35Tzs9K
In today's beginner swift video we'll be discussing loops. We walk through the basic for loop to iterate over arrays and dictionaries. I also talk about how to use ranges with loops, as well as using the where keyword to clean up your for loops. We also build a basketball game simulation using a while loop as well as the repeat while loop.
This tutorial was created on a playground using Xcode 11.3 and Swift 5.1.
Link to Playground code:
https://www.dropbox.com/sh/a7wgx4hq7g...
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...
Paul Hudson's Hacking With Swift:
https://gumroad.com/a/762098803
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