Changes

The Objective-C switch Statement

60 bytes added, 18:51, 24 November 2009
no edit summary
<hr>
<google>BUY_OBJC</google>
In [[Objective-C Flow Control with if and else]] we looked at how to control program execution flow using the ''if'' and ''else'' statements. Whilst these statement constructs work well for testing a limited number of conditions they quickly become unwieldy when dealing with larger numbers of possible conditions. To simplify such situations Objective-C has inherited the ''switch'' statement from the C programming language. In this chapter we will explore the ''switch'' statement in detail.
}
</pre>
 
<google>BUY_OBJC_BOTTOM</google>
<hr>