In previous posts we’ve talked about many of Swift’s control flow statements. In this article, we’re going to complete our set by looking at the one control flow statement that we haven’t touched on yet – Swift’s switch statement.
Swift’s Break and Continue Statements
In previous posts we’ve already looked at some of the control flow statements available in Swift. In this article we’re going to continue on that journey by looking at Swift’s break
and continue
statements along with the concept of statement labels.