control structures

Ongoing changes to Swift bring interesting changes to control structures. The most notable of these changes are the removal of C-based loops and increment / decrement symbols (eg., ++ / --). If you’re in the process of learning Swift, these changes may come as a surprise. In this essay, we’ll review loop control structures and will explore alternate iteration techniques with Swift