2Introducing iPhone OS DevicesThe iPhone, iPod touch, and iPad combine innovative new computing technologies with a completely new business model. Tec
11Chapter 1: Introducing iPhone OS DevicesUnderstanding Xcode’s Work AreasThe Groups & Files ListThe Groups & Files list is the key to managin
1224351 Select a sample application from the documentation. Note: See the section earlier in this chapter for more on finding sample source code.2 C
13Chapter 1: Introducing iPhone OS Devices6897To test applications on a real iPhone, you will need to provision it. To provision a phone, you must sig
14234563 If it is not already selected, click Application. 4 Choose a template. 5 Review a brief description of the template and its features. 6 C
15Chapter 1: Introducing iPhone OS Devices0987You can get the most from templates by creating your own. With custom templates, you can move beyond the
16125344 Type a curly open bracket ({) and then type Return. Code Sense automatically indents the cursor on the next line. 5 Type if. Code Sense
17Chapter 1: Introducing iPhone OS Devices6789You can use a shortcut to select from the list of possible options offered by Code Sense. Instead of nar
1823584671 Open Xcode and then load the Hello World application. 2 Click HelloWorldAppDelegate.m. The contents of HelloWorldAppDelegate.m appear in
19Chapter 1: Introducing iPhone OS Devices0!@9In addition to bookmarks and navigation shortcuts, Xcode includes a Favorites feature. To show the Favor
202356475 Choose the Debug build option from the Compiler Configuration drop-down menu.6 Click the Breakpoints switch to select it if it is not alre
3Chapter 1: Introducing iPhone OS DevicesThe iPhone OS Product RangeiPhone OS devices include the iPhone, iPhone 3G, iPhone 3GS, iPod touch, and iPad.
21Chapter 1: Introducing iPhone OS Devices89@!0#Xcode’s console is usually hidden. You can show it by choosing Run➔Console in Xcode. To send messages
222344 Choose Run➔Run with Performance Tool➔Leaks to load the memory leak profiler. The Simulator loads the application and runs it, and the Leaks a
23Chapter 1: Introducing iPhone OS Devices86957The Instruments tool is modular. The presets listed in the Instruments menu display one or two monitori
24312546 Choose Xcode➔Preferences to view the Xcode Preferences dialog box. 2 Click one of the preferences categories to view and change the setting
25Chapter 1: Introducing iPhone OS Devices!9780@Xcode does not include features for copying or renaming projects. You can typically copy a project by
426153 41 Open a web browser and navigate to http://developer.apple.com and then follow the links to find the most current enrollment page. Note: App
5Chapter 1: Introducing iPhone OS Devices78@90$#The current cost of professional developer enrollment is $99 for individual developers and small busin
6You can develop applications for the iPhone and iPad with Xcode — Apple’s iPhone and Mac development environment. Xcode requires an Intel-compatible
7Chapter 1: Introducing iPhone OS DevicesXcode and GCCXcode is based on a modified version of the Gnu Compiler Collection (GCC) and includes support f
823143 Click Sample Code under the Resource Types header in the left-hand pane. • A list of sample code examples appears in the Documents pane of th
9Chapter 1: Introducing iPhone OS Devices659078Further examples of source code are available from various sources online. One of the most useful is th
10Introducing Xcode’s Work AreasIntroducing Xcode’s Work AreasAIHGFECDBD Detail ViewThe Detail View shows the item or items selected in the Groups &am
Comments to this Manuals