Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword or section
Like this

Table Of Contents

Organization of This Document
Essential Development Tasks
iPhone Development Quick Start
Creating an iPhone Project
Editing Code
Using Code Completion
Accessing Documentation
Figure1-3 Viewing API reference in the Documentation window
Figure1-4 Viewing API reference in the Research Assistant
Building and Running Your Application
Measuring Application Performance
Further Exploration
Tutorial: Hello, World!
Create the Project
Write the Code
Listing1-1 Method to draw “Hello, World!” in a view
Run the Application
Editing Property-List Files
Configuring Applications
Figure2-1 Property-list editor window with an info-plist file
Figure2-2 Adding a sibling property in the property-list editor
Figure2-3 Specifying a property’s type in the property-list editor
Figure2-4 Adding a child property in the property-list editor
Managing Application Entitlements
Conditionalizing Compilation and Linking
Compiling Source Code Conditionally for iPhone Applications
Listing2-1 Determining whether you’re compiling for the simulator
Listing2-2 Determining whether you’re compiling for iPhone OS
Linking Frameworks Conditionally for iPhone Applications
Running Sample Applications
Running Applications
Specifying the Buildtime Environment
Setting the Base SDK
Setting Your Code Signing Identity
Figure3-1 Code Signing Identity build setting options
Figure3-2 A keychain with a developer certificate
Setting the Architecture
Setting the Active Build Configuration
Specifying the Runtime Environment
Figure3-3 Base SDK and iPhone Deployment Target build settings
Setting the Active SDK
Building Your Application
Solving Build Errors
Table3-1 Valid App ID/CFBundleIdentifier property pair
Table3-2 Invalid App ID/CFBundleIdentifier property pair
Running Your Application
Streamlining the Build-and-Run Workflow
Managing Application Data
Figure3-4 Viewing an application’s iPhone Simulator–based local file system
Figure3-5 Downloading an application’s device-based local file system
Setting the Simulation-Environment iPhone OS Version
Manipulating the Hardware
Using iPhone Simulator
Performing Gestures
Table4-1 Performing gestures in iPhone Simulator
Installing Applications
Uninstalling Applications
Resetting Content and Settings
Core Location Functionality
Accelerometer Access
iPhone Simulator File System on Host
Accessing the iPhone Developer Program Portal
Preparing Devices for Development
Managing Devices
Figure5-1 Preparing computers and devices for iPhone development
2. Register your device with the Program Portal
Setting Your Application ID
Registering Your Device with the Program Portal
Figure5-2 Organizer: Copying your device identifier
Installing iPhone OS on Your Device
Obtaining Your Development Certificate
Adding Your Development Certificate to Your Keychain
Obtaining Your Provisioning Profile
To obtain your provisioning profile:
Adding Your Provisioning Profile to the Xcode Organizer
Installing Your Provisioning Profile on Your Device
Restoring System Software
Running Applications on a Device
Capturing Screen Shots
Managing Your Digital Identities
Debugging Facilities Overview
Debugging Applications
Viewing Console and Crash Logs
Finding Memory Leaks
Unit Testing Overview
Unit Testing Applications
Setting Up Testing
Setting Up Logic Testing
Setting Up Application Testing
Publishing Applications for Testing
Adding Testers to Your Team
Adding the iTunes Artwork to Your Application
Figure9-2 Generic iTunes artwork for test applications
Distributing Your Application to Testers
Importing Tester Crash Logs
Instructions for Application Testers
Sending Your Device ID to a Developer
Installing an Application for Testing
Sending Crash Reports to a Developer
Listing9-1 Crash log storage on Windows Vista
Listing9-2 Crash log storage on Windows XP
iPhone Development FAQ
Hello, World! Source Code
Unconditional Failure
Equality Tests
Unit-Test Result Macro Reference
Nil Tests
Boolean Tests
Exception Tests
iPhone Simulator Frameworks
TableC-1 iPhone Simulator frameworks
iPhone Simulator Frameworks and Libraries
iPhone Simulator System Libraries
Document Revision History
0 of .
Results for:
No results containing your search query
P. 1
iPhone Development Guide

iPhone Development Guide



|Views: 7,972|Likes:
Published by Дмитрий

More info:

Published by: Дмитрий on Jan 20, 2010
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less





You're Reading a Free Preview
Pages 4 to 68 are not shown in this preview.
You're Reading a Free Preview
Page 72 is not shown in this preview.
You're Reading a Free Preview
Pages 76 to 104 are not shown in this preview.

Activity (99)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Anbu Mani liked this
mdiazw1 liked this
Vani Vijayan liked this
jezasoft liked this
osimseko liked this
gabymour liked this
payakkamron liked this
Mustfeez Rasul liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->