Last week we wrapped up our look at the different ways to construct loops in Objective-C. Here's a quick overview of the posts.
There are four looping statements in Objective-C:
for
loop
for...in
loop
while
loop
do...while
loop
The for
loop is the most flexible; we looked at some
for
loop idioms.
We examined the two loop flow modifiers:
Finally we wrapped up with a look at
goto
and
examined common
uses of goto
.