Changes

Jump to: navigation, search

Creating a Simple iPhone iOS 5 App

15 bytes added, 16:45, 18 October 2011
no edit summary
As with all iOS examples in this book, the development of our example will take place within the Xcode 4 development environment. If you have not already installed this tool together with the latest iOS SDK refer first to the Installing Xcode 4 and the iOS 5 SDK chapter of this book. Assuming that the installation is complete, launch Xcode by clicking on the icon on the dock (assuming you created one) or locate it using Finder.
When launched for the first time, and until you turn off the ''Show this window when Xcode launches '' toggle, the screen illustrated in Figure 6-1 will appear by default:
* '''Master-Detail Application''' – Used to create a list based application. Selecting an item from a master list displays a detail view corresponding to the selection. The template then provides a Back button to return to the list. You may have seen a similar technique used for news based applications, whereby selecting an item from a list of headlines displays the content of the corresponding news article. When used for an iPad based application this template implements a basic split-view configuration.
* '''Open GL Game''' – As discussed in [[iPhone iOS 5 Architecture and SDK Frameworks]], the OpenGL ES framework provides an API for developing advanced graphics drawing and animation capabilities. The Open GL ES Game template creates a basic application containing an Open GL ES view upon which to draw and manipulate graphics and a timer object.
* '''Page-based Application''' – Creates a template project using the page view controller designed to allow views to be transitioned by turning pages on the screen.
* '''Tabbed Application''' – Creates a template application with a tab bar. The tab bar typically appears across the bottom of the device display and can be programmed to contain items which, when selected, change the main display to different views. The iPhone’s built-in Phone user interface, for example, uses a tab bar to allow the user to move between favorites, contacts, keypad and voicemail.

Navigation menu