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

Table Of Contents

Organization of This Document
Introduction
Essential Development Tasks
iOS Development Quick Start
Creating an iOS Application 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 Quick Help window
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
Conditional Compilation and Linking
Compiling Source Code Conditionally for iOS Applications
Listing2-1 Determining whether you’re compiling for the simulator
Listing2-2 Determining whether you’re compiling for iOS
Linking Frameworks Conditionally for iOS Applications
Upgrading a Target from iPhone to iPad
Running Sample Applications
Building and Running Applications
The Build-and-Run Workflow
Specifying the Build-time Environment
Figure3-1 Code Signing Identity build setting options
Figure3-2 A keychain with a developer certificate
Table3-1 Values for the Targeted Device Family build setting
Specifying the Runtime Environment
Specifying Where to Place Your Application
Figure3-3 The Overview pop-up menu in the Project-window toolbar
Building Your Application
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-4 Downloading an application’s device-based local file system
Setting the Simulation-Environment Device Family and iOS Version
Manipulating the Hardware
Performing Gestures
Table4-1 Performing gestures in iOS Simulator
Installing Applications
Uninstalling Applications
Resetting Content and Settings
Core Location Functionality
Viewing iOS Simulator Console Logs
iOS Simulator File System on Your Mac
Hardware Simulation Support
Becoming a Member of the iOS Developer Program
Preparing Your Mac for iOS Development
Managing Devices and Digital Identities
Figure5-1 Preparing computers and devices for iOS development
Provisioning a Device for Development
Provisioning a Device for Generic Development
Provisioning a Device for Specialized Development
Installing iOS
Running Applications on a Device
Capturing Screen Shots
Managing Your Digital Identities
Debug Facilities Overview
Debugging Applications
Viewing Console Output and Device 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
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 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:
Frequently Asked Questions
Unconditional Failure
STFail
Equality Tests
STAssertEqualObjects
Unit-Test Result Macro Reference
STAssertEquals
STAssertEqualsWithAccuracy
Nil Tests
STAssertNil
STAssertNotNil
Boolean Tests
STAssertTrue
STAssertFalse
Exception Tests
STAssertThrows
STAssertThrowsSpecific
STAssertThrowsSpecificNamed
STAssertNoThrow
STAssertNoThrowSpecific
STAssertNoThrowSpecificNamed
STAssertTrueNoThrow
STAssertFalseNoThrow
Glossary
Document Revision History
0 of .
Results for:
No results containing your search query
P. 1
iOS Development Guide

iOS Development Guide

Ratings: (0)|Views: 24 |Likes:
Published by zameeransari

More info:

Published by: zameeransari on Oct 25, 2011
Copyright:Attribution Non-commercial

Availability:

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

10/25/2011

pdf

text

original

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.

You're Reading a Free Preview

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