Chapter 5

Using Interface Builder to Lay Out Your Views

In This Chapter

arrow Learning Xcode’s UI Tool

arrow Starting from the defaults

arrow Adding views

arrow Adding UI elements

arrow Testing your UI

arrow Connecting to your app

Apple has completely integrated Interface Builder, their graphical user interface editing tool, into Xcode 4.0. This improvement means you only need one tool, Xcode, to do all your creation and editing of your app.

Interface Builder is a visual tool that you use to create the graphical user interfaces for your Mac apps. You’ll put your app’s appearance together visually, by simply dragging and dropping objects from the UI component Object Library onto the windows and views of your app. The Object Library contains all the different visual interface elements that Apple packs into OS X. You can put together really clever and visually appealing displays for the information you present to your app’s ...

Get Mac® Application Development For Dummies® 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.