Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 2. Understanding Basic Syntax > Controlling Program Flow

2.3. Controlling Program Flow

Applications would be pretty dull if they could only do one thing. If you couldn't have them branch and make decisions based on conditions at runtime, they wouldn't be very useful. Fortunately, we don't have to worry about that, because Objective-C provides us with a rich toolkit of flow control mechanisms.

These flow control mechanisms fall under two broad categories.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint