Chapter 4. Using Interface Builder

This chapter covers

  • Learning how Interface Builder works
  • Writing a simple program using the interface
  • Linking Interface Builder and Xcode

In the last chapter, you built a labeledwebview class that included both a label and a web view. As is typically the case with programmatic design, you had to crunch numbers to make sure all your objects fit correctly on the screen.

What if you didn’t have to do that? What if you could lay out objects using a graphical design program and then immediately start using them in Xcode? With the SDK, you can, thanks to Interface Builder.

As we write this, Apple doesn’t offer any extensive iPhone or iPad Interface Builder documentation. The “Interface Builder User Guide” contains ...

Get iPhone and iPad in Action: Introduction to SDK Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.