Programming in Swift: Fundamentals

Oct 19 2021 · Swift 5.5, iOS 15, Xcode 13

Part 3: Control Flow

26. Conclusion

Episode complete

Play next episode

Next
About this episode

Leave a rating/review

See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 25. Challenge: Nested Loops & Early Exit Next episode: Part 3 Quiz

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.

Learn more Already a subscriber? Sign in.

Notes: 26. Conclusion

Update Notes: The student materials have been reviewed and are updated as of October 2021.

Transcript: 26. Conclusion

Hey you! Huge congratulations on completing another part of this course! I hope you’re enjoying getting into the “flow” of programing with Swift. So let’s review what you’ve learned in this part.

You learned how to control the flow of operation in your Swift apps. You already knew how to use if/else statements, but now you also know several more ways!

You can use while loops and repeat-while loops to repeatedly execute code while a certain condition is true.

You also learned about for-loops and how to use them in combination with ranges to repeat code a certain number of times.

You also learned how to use for loops to iterate over the contents of arrays,

And finally, you saw how to nest loops inside each other, and learned how to use the continue and break statements to exit out of a loop early. We covered a lot in this part of the course — you’re doing a great job, and you’re learning a lot about Swift!

Coming up in the next part of this course, you’ll build on your understanding of collections — like tuples and arrays — and learn about a few more powerful collections in Swift: Dictionaries and Sets!

So thank you for working through this part with me — and I’ll see you in the next part of this course!