Dave Mark is a longtime Mac developer and author who has written a number of books on Mac and iOS development, including Beginning iPhone 4 Development (Apress, 2010), More iPhone 3 Development (Apress, 2010), Learn C on the Mac (Apress, 2008), The Macintosh Programming Primer series (Addison-Wesley, 1992), and Ultimate Mac Programming (Wiley, 1995). Dave loves the water and spends as much time as possible on it, in it, or near it. He lives with his wife and three children in Virginia. Jack Nu need to create your very own apps for the latest iOS devices, including the iPhone 4S, iPad 2, and the latest iPod touch. Every single sample program in the book has been rebuilt from scratch using Xcode 4.2 and the latest iOS 5-specific project templates and designed to take advantage of the latest Xcode features.
Assuming only a minimal working knowledge of Objective-C, and written in a friendly, easy-to-follow style,Beginning iOS 5 Developmentoffers a complete soup-to-nuts course in iPhone, iPad, and iPod touch programming. The book starts with the basics, walking through the process of downloading and installing Xcode and the iOS 5 SDK, and then guides you though the creation of your first simple application.
From there, you’ll learn how to integrate all the interface elements Apple touch users have come to know and love, such as buttons, switches, pickers, toolbars, and sliders. You’ll master a variety of design patterns, from the simplest single view to complex hierarchical drill-downs. The confusing art of table building will be demystified, and you’ll learn how to save your data using the iPhone file system. You’ll also learn how to save and retrieve your data using a variety of persistence techniques, including Core Data and SQLite. And there’s much more! You’ll learn to draw using Quartz 2D and OpenGL ES, add multitouch gestural support (pinches and swipes) to your applications, and work with the camera, photo library, accelerometer, and built-in GPS. You’ll discover the fine points of application preferences and learn how to localize your apps for multiple languages.
The iOS 5 update to the bestselling and most recommended book for Cocoa touch developers
Packed full of tricks, techniques, and enthusiasm for the new SDK from a developer perspective
Written in an accessible, easy-to-follow style
What you’ll learn
Everything you need to know to develop your own bestselling iPhone and iPad apps
Best practices for optimizing your code and delivering great user experiences
How to create “universal” apps for both the iPhone and iPad
What is data persistence and whyis itimportant
Get started with building cool, crisp User Interfaces
What and how to use Table Views
How to do graphics with Quartz and OpenGL ES
What geo app development features the new iOS 5 brings to the iPhone4S
How to get your app in iCloud
And much much more...
Who this book is for
Everyone who wants to start developing for iPhone, iPod touch, and iPad!
For the latest sourcecode, please head to
Table of Contents
Welcome to the Jungle
Appeasing the Tiki Gods
Handling Basic Interaction
More User Interface Fun
Autorotation and Autosizing
Tab Bars and Pickers
Introduction to Table Views
Navigation Controllers and Table Views
Application Settings and User Defaults
Basic Data Persistence
Get Your App in the iCloud
Grand Central Dispatch, Background Processing, and You
Drawing with Quartz and OpenGL
Taps, Touches, and Gestures
Where Am I? Finding Your Way with Core Location
Whee! Gyro and Accelerometer!
iPhone Camera and Photo Library
Where to Next?