Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.
This is a working draft of a pre-release book. It is available before the published date as part of the Rough Cuts service.
The professional programmer’s DEITEL® guide to iPhone app development using iPhone SDK 3.x, Xcode®, Objective-C® and Cocoa®iPhone for Programmers include practical, example-rich coverage of:
• iPhone SDK 3.x, XCode®, Interface Builder
• Object-Oriented Programming in Objective-C® and Cocoa®
• Collections, GUI, Event Handling
• Controllers, Application Templates
• UIView, Multi-Touch™
• Core Audio, Core Animation, NSTimer
• Tables, UINavigationController
• Map Kit, Core Location, GPS, Compass
• Photos, iPod Library Access
• Serialization
Illustrations xvii
Preface xxvii
Before You Begin xxxiii
Chapter 1: Introduction to iPhone App Development 1
1.1 Introduction to iPhone for Programmers 2
1.2 iPhone Overview 3
1.3 Key New iPhone 3GS and OS 3.x Features and Enhancements 6
1.4 Downloading Apps from the App Store 7
1.5 iPhone OS 3.x 8
1.6 Objective-C Programming Language 9
1.7 Design Patterns 10
1.8 Cocoa Frameworks 11
1.9 New iPhone SDK 3 Features 13
1.10 Xcode Toolset 14
1.11 Basics of Object Technology 15
1.12 Web 2.0 17
1.13 Test-Driving the Painter App in the iPhone Simulator 17
1.14 Wrap-Up 22
1.15 Deitel Resource Centers 22
Chapter 2: iPhone App Store and App Business Issues 23
2.1 Introduction 24
2.2 iPhone Developer Program: Setting Up Your Profile for Testing and Submitting Apps 25
2.3 iPhone Human Interface Guidelines 30
2.4 Testing Your App 32
2.5 Preparing Your App for Submission through iTunes Connect 32
2.6 Characteristics of Great iPhone Apps 34
2.7 Avoiding Rejection of Your App 35
2.8 Pricing Your App: Free or Fee 36
2.9 Adding an App to iTunes Connect 38
2.10 Monetizing Paid Apps: Using In App Purchase to Sell Virtual Goods 41
2.11 Using iTunes Connect to Manage Your Apps 42
2.12 Marketing Your App 43
2.13 iPhone Anecdotes and Humor 48
2.14 Other Platforms 49
2.15 iPhone Developer Documentation 50
2.16 Wrap-Up 50
Chapter 3: Welcome App 51
Dive-Into® Xcode, Cocoa and Interface Builder
3.1 Introduction 52
3.2 Overview of the Technologies 52
3.3 Xcode 3.x IDE and Cocoa 53
3.4 Building the Application 56
3.5 Building the GUI with Interface Builder 57
3.6 Running the Welcome App 61
3.7 Wrap-Up 63
Chapter 4: Tip Calculator App 64
Introducing Objective-C Programming
4.1 Introduction 65
4.2 Test-Driving the Tip Calculator App 66
4.3 Overview of the Technologies 66
4.4 Building the App 66
4.5 Adding Functionality to Your App 71
4.6 Connecting Objects in Interface Builder 73
4.7 Implementing the Class’s Methods 76
4.8 Wrap-Up 81
Chapter 5: Favorite Twitter® Searches App 83
Collections and Cocoa GUI Programming
5.1 Introduction 84
5.2 Test-Driving the Favorite Twitter Searches App 85
5.3 Technologies Overview 86
5.4 Building the App 86
5.5 Wrap-Up 101
Chapter 6: Flag Quiz Game App 102
Controllers and the Utility Application Template
6.1 Introduction 103
6.2 Test-Driving the Flag Quiz Game App 106
6.3 Technologies Overvi
