Chapter 17. Adding an iPhone User Interface

In This Chapter

  • Painlessly putting a user interface on the model

  • Using Interface Builder to create a user interface

  • Adding controls to the view

  • Creating a view controller

  • Launching the application in the iPhone Simulator

I've been promising you all along, at least since Chapter 11, that if you create the right class structure, putting on a user interface will be easy. As you'll see, I wasn't exaggerating when I said that. The only challenge will be actually learning to create a user interface on the iPhone in this chapter and the Mac in Chapter 18. To do that, you'll need to know the basics of a program called Interface Builder (part of the SDK), which you will use to build the user interface.

Along the way, I will also tie together a number of the concepts I've talked about that relate to creating enhanceable and extensible applications. Frameworks, as I've said again and again, are the poster children for enhanceability and extensibility, and now you will finally get to see why. They are created to be reused, which as I said earlier, is the same thing as being extensible, and you can integrate techniques that the framework builders use into your own programs.

When you are done with this chapter and Chapter 18, though you will have learned some about developing iPhone and Mac OS X applications, you'll need to learn more about both. So, I suggest you get yourself copies of iPhone Application Development For Dummies by yours truly and Cocoa Programming ...

Get Objective-C® 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.