SUMMARY

This chapter provided a brief introduction to developing your first iPhone application. You have created a simple iPhone application, designed its user interface using some of the built-in views, and then test it on the iPhone Simulator. You have also learned how to write a simple action for your Button so that it can display a message when the user clicks on it. Finally, you saw how to assign an image to be used as the icon for your application and how to set a launch image for your application.

Although you likely still have many questions, the aim of this chapter was to get you started. The next few chapters dive deeper into the details of iPhone programming, gradually revealing the secrets of how all those components that seem so mysterious at first work together to create your application.

EXERCISES

  1. You want to add an icon to an iPhone project in Xcode. What is the size of the image that you should provide?
  2. What is the easiest way to add a launch image to an iPhone application?
  3. When adding an image to the Supporting Files folder in your Xcode project, why do you need to check the“Copy items into destination group's folder (If needed)”option?

Answers to the exercises can be found in Appendix D.

image WHAT YOU LEARNED IN THIS CHAPTER

TOPIC KEY CONCEPTS
Xcode Create your iPhone Application project and write code that manipulates your application.
Interface Builder ...

Get Beginning iOS 5 Application Development 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.