Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
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
Figure1-1 Project window
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
Upgrading a Target from iPhone to iPad
Running Sample Applications
Running Applications
Specifying the Buildtime Environment
Setting the Base SDK
Figure3-1 Base SDK for All Configurations pop-up menu in the Project Info window
Setting Your Code Signing Identity
Figure3-2 Code Signing Identity build setting options
Figure3-3 A keychain with a developer certificate
Setting the Architecture
Setting the Active Build Configuration
Setting the Device Family
Table3-1 Values for the Targeted Device Family build setting
Specifying the Runtime Environment
Figure3-4 Base SDK and iPhone Deployment Target build settings
Specifying Where to Place Your Application
Figure3-5 The Overview pop-up menu in the Project-window toolbar
Building Your Application
Solving Build Errors
Table3-2 Valid App ID/CFBundleIdentifier property pair
Table3-3 Invalid App ID/CFBundleIdentifier property pair
Running Your Application
Streamlining the Build-and-Run Workflow
Managing Application Data
Figure3-6 Viewing an application’s iPhone Simulator–based local file system
Figure3-7 Downloading an application’s device-based local file system
Setting the Simulation-Environment Device Family and iPhone OS Version
Using iPhone Simulator
Manipulating the Hardware
Performing Gestures
Table4-1 Performing gestures in iPhone Simulator
Installing Applications
Uninstalling Applications
Resetting Content and Settings
Core Location Functionality
Provisioning a Device for Development
Provisioning a Device for Generic Development
Provisioning a Device for Specialized Development
Installing iPhone OS
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
Writing Tests
Running Tests
Running Logic Tests
Running Application Tests
Writing Testable Code
The Instruments Application
Tuning Applications
The Shark Application
Publishing Your Application for Testing
Distributing Applications
Adding Application Testers to Your Team
Adding the iTunes Artwork to Your Application
Figure9-2 Generic iTunes artwork for test applications
Archiving Your Application for Testing
Sending Your Application to Testers
To send your application to testers:
Importing Crash Logs from Testers
Instructions for Application Testers
Sending Your Device ID to a Developer
Listing9-1 Crash log storage on Windows Vista
Listing9-2 Crash log storage on Windows XP
Publishing Your Application for App Store Distribution
Creating a Distribution Profile for Your Application
To create a distribution profile for your application:
Archiving Your Application for Submission to iTunes Connect
Submitting Your Application to iTunes Connect
To submit your application to iTunes Connect:
iPhone Development FAQ
Hello, World! Source Code
Unconditional Failure
Equality Tests
Unit-Test Result Macro Reference
Nil Tests
Boolean Tests
Exception Tests
Document Revision History
0 of .
Results for:
No results containing your search query
P. 1
iPhone Development Guide

iPhone Development Guide

Ratings: (0)|Views: 18 |Likes:
Published by Victor_Olteanu_2372

More info:

Published by: Victor_Olteanu_2372 on Aug 23, 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 45 are not shown in this preview.
You're Reading a Free Preview
Pages 49 to 93 are not shown in this preview.
You're Reading a Free Preview
Pages 97 to 98 are not shown in this preview.

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)//-->