Swift 2.x: Control Flow - While Loops

Опубликовано: 19 Май 2026
на канале: Shani Codes
231
4

This video tutorial is 1 of 2 where I share what I learned about Swift Control Flow with While loops! This video will dive into what a while loop is, with walkthrough examples, and how to work with them all in Xcode's Playground.

If you want to jump ahead, here's where I review:

While loops: 0:40
Repeat-While: 8:17

If you want more information, please check out and download the free book "The Swift Programming Language", found here: https://swift.org/documentation/
I use this book as my go-to source and you probably should too! :)
If you want some extra practice, try some the exercises found here: https://www.weheartswift.com/loops/

You can get Xcode here:
https://developer.apple.com/xcode/

You can get my notes and/ or playgrounds here: https://github.com/shanirivers/Swift-...

I can be found on Twitter as well - @shani_rivers
and I also blog occasionally: shanirivers.me