CART

(0) items

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

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

by ;
Edition:
1st
ISBN13:

9780321750402

ISBN10:
0321750403
Format:
Paperback
Pub. Date:
12/19/2011
Publisher(s):
Addison-Wesley Professional
List Price: $44.99

eBook


 
Duration
Price
$26.99

Rent Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

New Book

We're Sorry
Sold Out

More New and Used
from Private Sellers
Starting at $0.34
See Prices

Related Products


  • Learning IPad Programming : A Hands-On Guide to Building IPad Apps with IOS
    Learning IPad Programming : A Hands-On Guide to Building IPad Apps with IOS




Summary

This is the complete, hands-on iPad programming tutorial for every developer: both those who are familiar with iPhone programming, and those who are entirely new to Apple's iOS platform. Kirby Turner teaches iPad programming through a series of hands-on exercises, guiding you through creating numerous applications that highlight the full spectrum of what is possible on the iPad. As you work, you gain practical knowledge you can apply immediately in all facets of iPad development. You begin with the absolute basics, including downloading and installing the iOS development environment and writing high-quality object-oriented code with Objective-C. Next, you incrementally build your skills, mastering views, data persistence, object and layer animation, networking, multithreading, and much more. Learning iPad Programmingalso offers: " Detailed coverage of multi-touch programming " Extensive discussions of iPad-specific techniques such as SplitView Controllers and Popovers " Expert guidance on building Universal Applications that also run on iPhone and iPod touch " Up-to-the-minute coverage of new features built into iOS 5 " Practical guide to the entire development lifecycle, including full chapters on debugging apps, testing them, and distributing them through the App Store

Author Biography

 

Kirby Turner is an independent software developer and business owner focusing on Mac and iOS programming. He sells his own apps through his company White Peak Software, and he does contract programming when time allows. Follow Kirby on Twitter: @kirbyt.

 

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, Tom moved to iPhone in 2008. He develops iOS software on a contract basis and organizes iOS developer events in Colorado. Follow Tom on Twitter: @atomicbird.

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



Please wait while the item is added to your cart...