Are you a programmer looking for a new challenge? Does the thought of building your very own iPhone app make your heart race and your pulse quicken? If so, Beginning iPhone 3 Development: Exploring the iPhone SDK is just the book for you. Updated and revised for iPhone SDK 3, many of the discussions in the original book have been clarified to make some of the more complex topics easier to understand. In addition, all of the projects have been rebuilt from scratch using the SDK 3 templates.
Assuming only a minimal working knowledge of Objective-C, and written in a friendly, easy-to-follow style, this book offers a complete soup-to-nuts course in iPhone and iPod touch programming. The book starts with the basics, walking you through the process of downloading and installing Apple's free iPhone SDK, and then stepping you though the creation of your first simple iPhone application. From there, you'll learn to integrate all the interface elements iPhone 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 see how to save your data using the iPhone file system. You'll also learn how to save and retrieve your data using SQLite, iPhone's built-in database management system. In addition, you'll also learn about Core Data, an important persistence mechanism that has just been added with SDK 3.
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. You can discover more about this book, download source code, and find support forums at the book's companion site, at www.iphonedevbook.com.
- The iPhone 3 update to the best-selling and most recommended book for iPhone developers
- Packed full of tricks, techniques, and enthusiasm for the new SDK from a developer perspective
- The most complete, useful, and up-to-date guide to all things having to do with Apple's iPhone SDK
What you'll learn
- Everything you need to know to develop your own best-selling iPhone apps
- Best practices for optimizing your code and delivering great user experiences
Who is this book for?
Anyone who wants to start developing for iPhone and iPod touch
What's changed from the first edition of Beginning iPhone Development
- All code samples have been updated to follow current Apple coding conventions
- The autorotation code has been updated to use the new single-step fast autorotation instead of the original two-step method
- A new section has been added introducing Core Data, covering basic principles and showing how to build a simple Core Data application
- All the table view'related chapters have been updated to use table view cell styles. They've also been updated to use textLabel and detailTextLabel instead of the deprecated text property of the table view cell.
- All known errata have been corrected
- All projects have been rebuilt from scratch using the SDK 3.0 templates
- Many concepts have been clarified based on feedback and supplemented with information we've learned from another year of using the SDK
Summary of Contents
- Welcome to the Jungle
- Appeasing the Tiki Gods
- Handling Basic Interaction
- More User Interface Fun
- Autorotation and Autosizing
- Multiview Applications
- Tab Bars and Pickers
- Introduction to Table Views
- Navigation Controllers and Table Views
- Application Settings and User Defaults
- Basic Data Persistence
- Drawing with Quartz and OpenGL
- Taps, Touches, and Gestures
- Where Am I? Finding Your Way with Core Location
- Whee! Accelerometer!
- iPhone Camera and Photo Library
- Application Localization
- Where to Next?
"People ask me again and again about how to get started in iPhone development, but I never had a very good answer for them until now. Dave and Jeff's book starts at the beginning in clear English, making sure you understand the fundamentals with many large illustrations. From there, they progress into key concepts such as the MVC pattern and ImageBuilder fundamentals. Additionally, I find myself flipping back to it as a reference guide—the plethora of code samples make it a must-have."
—Steve Demeter, Creator of "Trism" and owner of Demiforce LLC
"Beginning iPhone Development delivers a clear picture of the entire development process from registering as an iPhone developer through creation of complete applications. There is a wealth of examples illustrating each feature of the iPhone. The authors did an excellent job of demonstrating "best practice" coding methodology throughout the book. You would be hard pressed to find a better guide to creating software for the iPhone."
—Aaron Basil, iDev2.com
"Dave Mark has always been the king of Mac programming authors, and now he's proven to be the reigning king for books on iPhone development!
"Beginning iPhone Development is the definitive guide for iPhone development, and anyone aspiring to develop for the iPhone should get this invaluable reference."
—Brian Greenstone, President & CEO, Pangea Software, Inc.
"Jeff and Dave have done an exceptional job exploring the iPhone SDK. This book is far and away the single best resource for iPhone SDK development. Developers will latch on to this book and find it useful as they create the next great iPhone application. If you're a developer with an interest in this amazing new platform, this is a must buy."
—Chris Stewart, Founder, iPhoneDevSDK.com
"If you're planning on coding for the iPhone, start here. Dave and Jeff know their stuff and also know how to explain it. I was amazed how much stuff they cover, from Hello World through analyzing user gestures. Not only do they cover the fun stuff like playing with the camera, they cover real-world development issues like localization. I learned a huge amount from them"
—Mark Dalrymple, Co-founder, CocoaHeads, and Principal Author, Advanced Mac OS X Programming
"Starting with an overview of the technology, how to approach the device, the authors lead us straight into the heart of iPhone development. As you progress, you'll learn more about various layout engines and view managers, as well as the more meaty topics like accelerometer and GPS APIs. This book is a must-have for anyone interested in getting started quickly and efficiently with iPhone development!"
—Chris Pelsor, Manager, Tarantell:Hybrid
"All in all I was very surprised and pleased with the book. I've had the fortune of reading many technical books, and few do a great job of walking someone through the basics without making them feel like a dolt. It felt like every time I was stuck or unsure there was a tip, hint or paragraph which explained what was going on."
—Cory Foy, at Slashdot.org
About the Apress Beginning Series
The Beginning series from Apress is the right choice to get the information you need to land that crucial entry–level job. These books will teach you a standard and important technology from the ground up because they are explicitly designed to take you from “novice to professional.” You’ll start your journey by seeing what you need to know—but without needless theory and filler. You’ll build your skill set by learning how to put together real–world projects step by step. So whether your goal is your next career challenge or a new learning opportunity, the Beginning series from Apress will take you there—it is your trusted guide through unfamiliar territory!