Contents


preface
acknowledgments
about this book
 
Chapter 1 Introducing the iPhone and iPad
A bit of history
All for one and one for all: the iPhone OS platform
Core hardware specifications
How the iPhone and iPad are unique
Understanding iPhone and iPad touch interaction
Summary
Chapter 2 Learning Objective-C and the iPhone OS SDK
Getting ready for the SDK
Introducing Objective-C
Introducing the iPhone OS
The iPhone OS’s methods
Summary
Chapter 3 Using Xcode
Introducing Xcode
Creating a first iPhone project in Xcode: Hello, World!
Creating a first iPad project in Xcode: Hello, World!
Creating a new class in Xcode
Other Xcode functionality
Summary
Chapter 4 Using Interface Builder
An introduction to Interface Builder
A first project in Interface Builder: pictures and the web
Building connections in Interface Builder
Other Interface Builder functionality
Summary
Chapter 5 Creating basic view controllers
The view controller family
The standard view controller
The table view controller
Summary
Chapter 6 Monitoring events and actions
An introduction to events
A touching example: the event reporter
Other event functionality
An introduction to actions
Adding a button to an application
Other action functionality
Introducing notifications
Summary
Chapter 7 Creating advanced view controllers
The tab bar view controller
The navigation controller
Using the flipside controller
The split view controller
Popover and modal view controllers
Summary
Chapter 8 Data: actions, preferences, and files
Accepting user actions
Maintaining user preferences
Opening files
Summary
Chapter 9 Data: advanced techniques
Using SQLite
Accessing the Address Book
An introduction to Core Data
Summary
Chapter 10 Positioning: accelerometers, location, and the compass
The accelerometers and orientation
The accelerometers and movement
The accelerometers and gestures
All about Core Location
Summary
Chapter 11 Media: images and the camera
An introduction to images
Drawing simple images with Core Graphics
Accessing photos
Collage: an image example
Summary
Chapter 12 Media: audio and recording
Playing audio from the iPod library
Recording audio
Playing sounds manually
Example: creating a simple audio recording/playback application
Recording, playing, and accessing video
Summary
Chapter 13 Graphics: Quartz, Core Animation, and OpenGL
An introduction to Quartz 2D
The Quartz context
Drawing paths
Setting the graphical state
Advanced drawing in Quartz
Drawing on a picture: an example
An introduction to Core Animation
An introduction to OpenGL
Summary
Chapter 14 The web: web views and internet protocols
The hierarchy of the internet
Low-level networking
Working with URLs
Using UIWebView
Parsing XML
POSTing to the web
Accessing the social web
Summary
Chapter 15 Peer-to-peer connections using Game Kit
Overview of Game Kit
Creating peer-to-peer applications using the peer picker
Example: creating a multiplayer table tennis game
Summary
Chapter 16 Push notification services
What are push notifications?
An overview of Apple’s push notification system
Preparing your application to use push notifications
Creating a push notification provider in PHP
Summary
Chapter 17 The Map Kit framework
Overview of Map Kit
Adding a map to an application
Reverse geocoding
Annotating the map
Summary
Chapter 18 In-app purchasing using Store Kit
Setting up a sandbox testing environment
Creating a simple store interface
Summary
Chapter 19 iPhone SDK enhancements
Custom keyboard accessories
Going forward: the iPhone 4.0 SDK
Summary

 
appendix A iPhone OS class reference
appendix B External sources and references
appendix C Publishing your SDK program
appendix D Updating current applications for the iPad
index