It’s (Finally) Time to Code
In This Chapter
Determining Internet availability
Changing the appearance of controls
Using the debugger
Using breakpoints to examine runtime behavior
Yes, it’s finally time to start coding, although this chapter doesn’t get you going on the RoadTrip app functionality itself yet (the example app developed in this book). In this chapter, I show you some code you have to include to make sure that your app isn’t rejected out of hand by Apple.
I also show you how to spruce up the Main view by customizing how controls appear, and finally I give you an introduction to your new friend, the debugger. Although some of you out there (but not me) may code perfectly, most developers make some mistakes as they develop an application (me included). Fortunately, the debugger in Xcode 4.2 starts helping you right from the start — so you want to understand how to use it as soon as you start coding.
Checking for Network Availability
One of the easiest ways to get your app rejected by Apple is to fail to make sure that you have an Internet connection when your ...