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