iOS 12 Programming for Beginners
上QQ阅读APP看书,第一时间看更新

Control flow

In programming, control flow is the order in which your code executes. When working with Swift, we can use a variety of control statements. Loops, in particular, are useful for when you want to repeat a task multiple times. Let's take a look at a few different types of loop.