Chapter 4

Making Decisions About…and Planning Program Flow

One of the cool things about being an iPhone/iPad/Mac developer is we get to tell our devices exactly what we want them to do and it will be done—our devices will do tasks over and over again without getting tired. That’s because iPhones/iPads/Macs don’t care how hard they worked yesterday, and they don’t let feelings get in the way. These devices don’t need hugs.

There is a downside to being developers: we have to think of all possible outcomes when it comes to our apps. Many students love having this kind of control. They enjoy focusing on the many details of their apps; however, it can be frustrating having to handle so many details. As we mentioned in the introduction to this book, ...

Get Objective-C for Absolute Beginners: iPhone, iPad and Mac Programming Made Easy, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.