Home > Store

larger cover

Add To My Wish List

Learning iPad Programming: A Hands-on Guide to Building iPad Apps with iOS 5

Register your product to gain access to bonus material or receive a coupon.

  • Description
  • Downloads
  • Extras
  • Reviews
  • Sample Content

Product Author Bios

Kirby Turner is an independent software developer and Chief Code Monkey for his company, White Peak Software Inc. He has been programming professionally for more than 25 years, and programming for fun even longer. He recently presented the session Universal Application Design: Reaching the Widest Audience at the iPhone Developers Conference.

Tom Harrington switched from writing software for embedded systems and Linux to Mac OS X in 2002 when he started Atomic Bird, LLC. After six years of developing highly regarded Mac software, he moved to iPhone in 2008. He develops iOS software on a contract basis for a variety of clients. Tom also organizes iOS developer events in Colorado. When not writing software, Tom can often be found on his mountain bike. His website is www.atomicbird.com.

Learning iPad Programming walks you through the process of building PhotoWheel (free on the App Store), a photo management and sharing app that leverages every aspect of iOS 5. With PhotoWheel, you can organize your favorite photos into albums, share photos with family and friends, view them on your TV using AirPlay and an Apple TV, and most importantly, gain hands-on experience with building an iPad app. As you build PhotoWheel, you’ll learn how to take advantage of the latest features in iOS 5 and Xcode, including Storyboarding, Automatic Reference Counting (ARC), and iCloud. Best of all, you’ll learn how to extend the boundaries of your app by communicating with web services. If you want to build apps for the iPad, Learning iPad Programming is the one book to get.

 

As you build PhotoWheel, you’ll learn how to

 

  • Install and configure Xcode 4.2 on your Mac
  • Master the basics of Objective-C, and learn about memory management with ARC
  • Build a fully functional app that uses Core Data and iCloud for photo sharing and synchronization
  • Use Xcode’s new Storyboard feature to quickly prototype a functional UI, and then extend that UI with code
  • Create multitouch gestures and integrate Core Animation for a unique UI experience
  • Build custom views, and use view controllers to perform custom view transitions
  • Add AirPrint, email, and AirPlay capabilities to your app
  • Apply image filters and effects using Core Image Diagnose and fix bugs with Instruments Prepare your app for submission to the app store

 

Download the free version of PhotoWheel from the App Store today! Share your photos with friends and upload to iCloud, all while learning how to build the app.

Downloads

Download free code files here

Customer Reviews

22 of 25 people found the following review helpful
4.0 out of 5 stars Very good albeit verbose and limited in concept, April 20, 2012
By 
This review is from: Learning iPad Programming: A Hands-on Guide to Building iPad Apps with iOS 5 (Paperback)
This is clearly not a superficial book, it covers a lot and very well, but it is also time consuming to read it. And it has its own flaws. There are not many great books on iOS development in the market. Even less on iOS 5. And a lot less on solid application development on iOS 5. This book fills a gap. But, unfortunately, it doesn't do it so well as it could.

There is a bright side:
it covers many topics that other introductory books ignore, especially Core Data (data persistence) and application design on iOS (for example, well-respected publisher O'Reilly's iOS book "Programming iOS 5" has this unbelievable statement in one of the last pages in a book with more than 1,000 pages: "Core Data is beyond the scope of this book"). Furthermore, it covers subjects that are specific to iOS 5, including syncing with iCloud. And it does cover debugging and deployment, two very important themes. Xcode's new storyboard to prototype a functional user interface quickly is also... Read more
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


16 of 18 people found the following review helpful
5.0 out of 5 stars This is the book I was waiting for!, December 29, 2011
By 
Robert Morrow (Coatesville, PA) - See all my reviews
Amazon Verified Purchase(What's this?)
This review is from: Learning iPad Programming: A Hands-on Guide to Building iPad Apps with iOS 5 (Paperback)
I have read many books on IOS and iphone programming. This book is definitely one of the best and thorough books for ipad development. The best part, is that it takes the reader through the entire process of creating a real Ipad app. If you're interested and want to learn Ipad programming, I recommend this book. I believe this book will give a great foundation and starting point.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5 of 5 people found the following review helpful
5.0 out of 5 stars Broad coverage, yet with depth. Efficient, without fluff., February 29, 2012
This review is from: Learning iPad Programming: A Hands-on Guide to Building iPad Apps with iOS 5 (Paperback)
As of this review I'm halfway through the book. My background is hardware/software design, but I've been largely out of that loop for about a decade. Done mostly C and assembler, no experience in object-oriented languages. iOS made programming fun for me again, and _Learning iPad Programming_ made learning fun again. I began reading three other popular books on iOS development before this, and this is my favorite yet; I'll read this one to the end. Bottom line: It's helping me learn. Pros: It covers a wide variety of topics ("soup to nuts"); it goes in depth -- its broad coverage does not mean short on details; very well edited for grammar and spelling (I'm a nit picker) which shows attention to detail; nearly every line of code in listings is explained; best of all every chapter so far has proven to me there is something to learn. Cons: [crickets]. If you must have a con, Chapter 13 (Core Data) began kicking my butt, requiring more gray matter compared to previous chapters. Not a... Read more
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


Share your thoughts with other customers:
 See all 14 customer reviews...

Online Sample Chapters

Learning iPad Programming: Provisioning Your iPad

Learning iPad Programming: Provisioning Your iPad

Table of Contents

Foreword xxv

Preface xxix

Acknowledgments xliii

About the Authors xlv

 

Part I: Getting Started 1

 

Chapter 1: Your First App 3

Creating the Hello World Project 3

Getting Text on the Screen 10

Say Hello 12

Summary 17

 

Chapter 2: Getting Started with Xcode 19

The IDE 19

Workspace Window 20

Preferences 26

Developer Documentation 34

Editors 35

Project Settings 36

Schemes 39

Organizer 40

Other Xcode Tools 41

Summary 41

 

Chapter 3: Getting Started with Interface Builder 43

Interface Builder 43

How Does IB Work? 44

Getting Hands-On with IB 45

Connecting Your NIB to Your Code 57

Storyboards 63

Summary 64

 

Chapter 4: Getting Started with Objective-C 65

What Is Objective-C? 65

Hands-On with Objective-C 66

Using the CoinTosser Class 84

Memory Management 85

Summary 87

 

Chapter 5: Getting Started with Cocoa 89

The Cocoa Stack 89

Foundation 91

UIKit 103

Common Design Patterns in Cocoa 112

Summary 113

 

Chapter 6: Provisioning Your iPad 115

About the iOS Provisioning Portal 115

The Provisioning Process: A Brief Overview 117

Setting Up Your Development Machine 121

Setting Up Your Device 128

Using the iOS Provisioning Portal 131

Summary 139

 

Chapter 7: App Design 141

Defining Your App 141

UI Design Considerations 148

Mockups 154

Prototyping 160

Summary 163

 

Part II: Building PhotoWheel 165

 

Chapter 8: Creating a Master-Detail App 167

Building a Prototype App 167

A Closer Look 173

A Tour of UISplitViewController 181

Summary 187

Exercises 187

 

Chapter 9: Using Table Views 189

First Things First 189

A Closer Look 193

Working with a Table View 194

Summary 230

Exercises 230

 

Chapter 10: Working with Views 231

Custom Views 231

A Wheel View 233

A Carousel View 240

A Photo Wheel View Cell 248

Summary 252

Exercises 252

 

Chapter 11: Using Touch Gestures 253

Touch Gestures Explained 253

Custom Touch Gestures 258

Summary 266

Exercises 267

 

Chapter 12: Adding Photos 269

Two Approaches 269

Using the Image Picker Controller 271

Summary 284

Exercises 284

 

Chapter 13: Data Persistence 285

The Data Model 285

Building the Model with Property Lists 286

Building the Model with Core Data 298

Using Core Data in PhotoWheel 307

Adding Custom Code to Model Objects 315

Using SQLite Directly 326

Summary 327

Exercises 327

 

Chapter 14: Storyboarding in Xcode 329

What Is a Storyboard? 329

Storyboarding PhotoWheel 333

Summary 349

Exercises 349

 

Chapter 15: Doing More with View Controllers 351

Implementing a View Controller 351

Segue 355

Customizing the Pop Transitions 364

Container View Controller 367

Summary 376

Exercises 376

 

Chapter 16: Building the Main Screen 377

Reusing Prototype Code 378

Displaying Photo Albums 398

Managing Photo Albums 409

A Better Photo Album Thumbnail 425

Adding Photos 429

Displaying Photos 434

Summary 455

Exercises 455

 

Chapter 17: Creating a Photo Browser 457

Using the Scroll View 457

Launching the Photo Browser 467

Adding Chrome Effects 477

Zooming 482

Deleting a Photo 489

Summary 498

Exercise 498

 

Chapter 18: Supporting Device Rotation 499

How to Support Rotation 499

Customized Rotation 502

Fixing the Trouble Spots 511

Launch Images 520

Summary 523

Exercises 523

 

Chapter 19: Printing with AirPrint 525

How Printing Works 525

Adding Printing to PhotoWheel 527

Summary 531

Exercises 532

 

Chapter 20: Sending Email 533

How It Works 533

The SendEmailController Class 535

Summary 546

Exercises 546

 

Chapter 21: Web Services 547

The Basics 547

Flickr 549

One More Thing 580

What’s Missing 582

Summary 582

Exercises 582

 

Chapter 22: Syncing with iCloud 583

Syncing Made Simple 583

iCloud Concepts 584

Device Provisioning, Revisited 586

iCloud Considerations for PhotoWheel 592

Updating PhotoWheel for iCloud 593

Syncing Photos with iCloud 598

Summary 607

Exercises 607

 

Chapter 23: Producing a Slideshow with AirPlay 609

External Display Options 609

App Requirements for External Displays 609

External Display API 610

Adding a Slideshow to PhotoWheel 611

Managing External Displays 616

Advancing to the Next Photo 620

Adding Slideshow User Interface Controls 622

Updating the Photo Browser 624

A Note on Testing and Debugging 625

Adding AirPlay Support 626

Using AirPlay 628

Summary 629

Exercises 629

 

Chapter 24: Visual Effects with Core Image 631

Core Image Concepts 631

Introducing CIFilter 633

Image Analysis 636

Adding Core Image Effects to PhotoWheel 638

Summary 656

Exercises 656

 

Part III: The Finishing Touches 659

 

Chapter 25: Debugging 661

Understand the Problem 661

Debugging Concepts 662

Debugging in Xcode 663

Debugging Example: External Display Code 670

When You Really Need NSLog 674

Profiling Code with Instruments 676

Summary 682

 

Chapter 26: Distributing Your App 683

Distribution Methods 683

Building for Ad Hoc Distribution 684

Building for App Store Distribution 688

The App Store Process 691

App Information for the App Store 692

App Store Assets 694

Using iTunes Connect 695

Submitting the App 696

Going Further 698

Summary 699

 

Chapter 27: The Final Word 701

What’s Next 702

 

Appendix A: Installing the Developer Tools 703

Joining the iOS Developer Program 704

Downloading Xcode 708

Installing Xcode 708

 

Index 711

Sample Pages

Download the sample pages (includes Chapter 6 and Index)

 
Best Value

Book + eBook Bundle  $80.98  $48.59

Book Price $35.99
eBook Price $12.60
eBook formats included

Buy

This book includes free shipping!

Buy

Book  $44.99  $35.99

Usually ships in 24 hours.

This book includes free shipping!

Buy

eBook (Watermarked)  $35.99  $28.79

Includes EPUB, MOBI, and PDF
About eBook Formats

This eBook includes the following formats, accessible from your Account page after purchase:

ePubEPUBThe open industry format known for its reflowable content and usability on supported mobile devices.

MOBIMOBIThe eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

Adobe ReaderPDFThe popular standard, used most often with the free Adobe® Reader® software.

This eBook requires no passwords or activation to read. We customize your eBook by discretely watermarking it with your name, making it uniquely yours.

Purchase Reward: One Month Free Subscription
By completing any purchase on InformIT, you become eligible for an unlimited access one-month subscription to Safari Books Online.

Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.