Previous episode: 16. Conclusion
Next episode: 18. While Loops
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
Hey everybody, I'm Chris and I'm super excited to welcome you to the third part of this course control flow. Now, so far in this course, pretty much all the code you've written has been executed one line at a time from top to bottom. But in this part of the course, I'm going to show you how to switch that up with what's known as control flow. Now you already know how to use one kind of control flow, and that's the if else statement. But in this part of the course, I'm going to show you three more ways to control the flow of code execution right in your apps. Now you'll first take a look at while loops and their very close cousin, the repeat while loop, and then you'll go over for loops. You'll learn how ranges work and how you can use for loops to work with arrays. I'll also show you how you can nest one loop inside another loop, and even how to exit early from those loops, if and when you need to. So, pretty much every app you're going to write in your career is going to use control flow in some fashion. So to make sure it really sinks in, I've got some challenges for you to complete along the way. So I'll see you in the next video to start working with control flow in Swift.
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.