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 the Rough Cut version of the printed book.
The clear, easy-to-understand tutorial for developers who want to write software for today's hottest new device: Apple's iPad!
Figures and code appear as they do in Xcode
Covers iOS 3.2 and up
In just 24 sessions of one hour or less, learn how to build powerful applications for today’s hottest tablet device: the iPad! Using this book’s straightforward, step-by-step approach, you’ll master every skill and technology you need, from setting up your Xcode development environment to utilizing the full iPad screen real estate for touchable interfaces, integrating maps and media, to improving the reliability and performance of your software. Each lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success!
Step-by-step instructions carefully walk you through the most common iPad development tasks.
Quizzes and Exercises at the end of each chapter help you test your knowledge.
By the Way notes present interesting information related to the discussion.
Did You Know? tips offer advice or show you easier ways to perform tasks.
Watch Out! cautions alert you to possible problems and give you advice on how to avoid them.
Printed in full color
• Learn the features of the Xcode development suite
• Prepare your system and iPad for efficient development
• Get started fast with Apple’s Objective-C and Cocoa Touch
• Understand the Model-View-Controller (MVC) development paradigm
• Implement advanced application interfaces with interactive widgets and web-connected interfaces
• Enhance the user experience with popovers and other iPad-only UI features
• Build interfaces that adjust to the iPad’s orientation
• Read and write data, and navigate it with table views
• Implement media playback and recording capabilities
• Integrate your software with the iPad’s email, photos, iPod, and address book applications
• Create map and location-based services
• Sense motion with the iPad accelerometer input
• Discover the tools for building universal iPad/iPhone/iPod touch applications
• Distribute your applications through the App Store
Introduction 1
HOUR 1: Preparing Your System and iPad for Development 5
Welcome to the iPad Platform 5
Becoming an iPad Developer 8
Creating a Development Provisioning Profile 13
Developer Technology Overview 25
Summary 27
Q&A 27
Workshop 28
HOUR 2: Introduction to Xcode and the iPhone Simulator 29
Using Xcode 29
Using the iPhone Simulator 47
Further Exploration 52
Summary 52
Q&A 53
Workshop 53
HOUR 3: Discovering Objective-C: The Language of Apple Platforms 55
Object-Oriented Programming and Objective-C 55
Exploring the Objective-C File Structure 60
Objective-C Programming Basics 67
Memory Management 76
Further Exploration 78
Summary 79
Q&A 79
Workshop 80
HOUR 4: Inside Cocoa Touch 83
What Is Cocoa Touch? 83
Exploring the iPhone OS Technology Layers 85
Tracing the iPad Application Life Cycle 89
Cocoa Fundamentals 91
Exploring the iPhone OS Frameworks with Xcode 100
Summary 104
Q&A 104
Workshop 104
HOUR 5: Exploring Interface Builder 107
Understanding Interface Builder 107
Creating User Interfaces 112
Customizing Interface Appearance 117
Connecting to Code 122
Further Exploration 130
Summary 131
Q&A 131
Workshop 132
HOUR 6: Model-View-Controller Application Design 133
Understanding the Model-View-Controller Paradigm 133
How Xcode and Interface Builder Implement MVC 136
Using the View-Based Applica
