Changes

Jump to: navigation, search

Objective-C Flow Control with if and else

1 byte added, 21:06, 1 February 2016
m
Text replacement - "<htmlet>objc<htmlet>" to "<htmlet>objc</htmlet>"
<hr>
<htmlet>objc</htmlet>
In the chapter titled [[Objective-C Operators and Expressions]] we looked at how to use logical expressions in Objective-C to determine whether something is ''true'' or ''false''. Since programming is largely an exercise in applying logic, much of the art of programming involves writing code that makes decisions based on one or more criteria. Such decisions define which code gets executed and, conversely, which code gets by-passed when the program is executing. This is often referred to as ''flow control'' since it controls the ''flow'' of program execution.

Navigation menu