O'Reilly logo

Xcode 3 Unleashed by Fritz Anderson

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 13. Creating a Custom View

<feature><title>In This Chapter</title>
  • Adding a NIB to a Project

  • Creating a Custom Class in Interface Builder

  • Generating Implementation Files

  • Connection HUDs

  • Debugging Graphics

</feature>

The three statistics—slope, intercept, and correlation—tell the whole story of a data set and its relation to the best line through it, but pictures are easier to understand. In this chapter, we add a window with a custom view that generates a simple graph of the regression line and the points in the data set. Along the way. we’ll see how Interface Builder helps in placing and describing new view classes, and how we can use it to build complex relationships among views and controller objects.

Controller

Let’s start thinking about ...

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