O'Reilly logo

iOS 4 in Action: Developing iPhone and iPad Apps by Shannon Appelcline, Christopher Allen, Brandon Trebitowski, Jocelyn Harrington

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Xcode and debugging

 

This chapter covers
  • Creating a custom view in Xcode
  • Learning how the debugger works

 

In the last chapter, you created your first HelloWorld application and an Apple-Stock application with Xcode. In this chapter, you’ll build on this foundation of iOS application programming with a focus on how to create the custom view class in Xcode and how to use the Debugger to eliminate bugs during the project development lifecycle.

First, let’s work on how to create a custom class together with Xcode. New programs are usually full of new classes. Here are three major reasons you may want to create new classes:

  • You can create a totally new class, with different functionality from anything else. If it’s a user interface ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required