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 ...

Get iOS 4 in Action 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.