Wiley
Wiley.com
Print this page Share

Professional iPhone and iPad Application Development

ISBN: 978-0-470-87819-4
600 pages
November 2010
Professional iPhone and iPad Application Development (0470878193) cover image
Everything you need to create top-notch applications for the iPhone and iPad

Developers have demanded an advanced guide to using the very latest version of the iPhone and iPad SDK to develop applications-and this book answers that call! Packed with over twenty complete standalone applications that are designed to be recreated, rebuilt, and reused by the professional developer, this resource delves into the increasingly popular world of application development and presents step-by-step guidance for creating superior apps for the iPhone and iPad. You'll explore the many developer tools and learn how to use them and you'll also discover how to apply the techniques learned, to real world situations. With coverage of the latest version of the iPhone and iPad SDK and the quantity of standalone applications, this book will serve as a tremendous go-to reference in the future.

Coverage includes:

  • Navigation
  • Alerts, Action Sheets, and Modal Views
  • Custom Table Views
  • The Split View
  • Touch Events
  • Notification Processing
  • Networking Concepts
  • Multimedia
  • Application Preferences
  • Data Storage
  • The Pasteboard
  • Unit Testing
  • Performance Tuning and Optimization
  • Integrating iAds
  • Multitasking

Professional iPhone and iPad Application Development is the only advanced-level resource you need for creating top-quality applications!

See More

INTRODUCTION xxiii

CHAPTER 1: NAVIGATION 1

Navigation Stack 2

The Navigation Bar 2

A Simple Navigation Bar 3

The Toolbar 17

A Simple Toolbar 18

The Tab Bar 26

A Simple Tab Bar 26

Summary 51

CHAPTER 2: ALERTS, ACTION SHEETS, AND MODAL VIEWS 53

Alerts 53

A Simple AlertView for the iPhone-iPod Touch and iPad 54

Action Sheets 66

An Action Sheet for the iPhone-iPod Touch 67

An Action Sheet for the iPad 80

Modal Views 95

A Modal View for the iPhone and iPod Touch 95

A Modal View for the iPad 106

Summary 119

CHAPTER 3: CUSTOM TABLE VIEWS 121

Table Views 121

A Custom Table View Application 122

Summary 135

CHAPTER 4: THE SPLIT VIEW 137

The UISplitViewController Class 137

A Simple Split View Application 138

Summary 158

CHAPTER 5: TOUCH EVENTS 159

Touch Event Handling 159

A Simple Touch Handler 162

A Simple Gesture Recognizer 174

Summary 197

CHAPTER 6: NOTIFICATION PROCESSING 199

NSNotifications Concepts 200

A Local Named Notification 201

A Local Keyboard Notification 211

Summary 225

CHAPTER 7: NETWORKING CONCEPTS 227

Communication over a Network 228

A Simple Network Browser 230

Peer-to-Peer Device Communications 244

Summary 262

CHAPTER 8: MULTIMEDIA 263

Frameworks for Audio 263

Frameworks for Video 265

Playing Audio from the iPod Library 265

An Application That Plays Video from the iPod Library 291

Summary 312

CHAPTER 9: APPLICATION PREFERENCES 313

Application Configuration 313

Setting Simple Preferences 315

Creating a Child Pane Preference Hierarchy 325

Summary 338

CHAPTER 10: DATA STORAGE 339

Property Lists 339

Core Data 341

The Common Premise for Data Storage 343

Summary 394

CHAPTER 11: THE PASTEBOARD 395

Pasteboard Concepts 396

Cutting and Pasting Text 398

Cutting and Pasting Images 407

Creating Custom Menus for the iPad 416

Summary 427

CHAPTER 12: UNIT TESTING 429

Setting Up the Environment 429

A Simple Unit Test 430

Unit Test Creation Steps: A Simple Unit Test 446

Summary 452

CHAPTER 13: PERFORMANCE TUNING AND OPTIMIZATION 453

Profiling 454

A Simple Memory Leak Test 455

Summary 468

CHAPTER 14: INTEGRATING IADS 469

Joining the iAd Network 469

Preparing Your Application to Use the iAd Network 470

A Simple Application Using iAds 471

Summary 479

CHAPTER 15: MULTITASKING 481

Multitasking Services 481

An Application That Multitasks Audio 483

Summary 503

APPENDIX A: YOUR INITIAL APP — FIRST STEPS 505

Xcode Project Builder 505

Interface Builder 512

Summary 514

APPENDIX B: IPHONE DEVELOPER CENTER 515

Resources for the iOS 4 SDK 515

iPhone Developer Program 518

iTunes Connect 520

News & Announcements 520

Summary 520

APPENDIX C: COCOA TOUCH STATIC LIBRARIES 521

Xcode Project Template 521

An Xcode Application Project 527

Summary 542

APPENDIX D: APPLE DEVELOPER RESOURCES 543

iPhone Developer Program 543

iTunes App Store 544

Application Distribution Procedures 545

iTunes Connect Developer Guide 545

INDEX 547

See More

Gene Backlin is an independent consultant with more than 30 years in the software industry for clients such as IBM, US Environmental Protection Agency, Waste Management, Bank of America, JP Morgan Chase, and AT&T. In addition to teaching at DePaul University, Gene previously authored Developing NeXTSTEP Applications, which was bundled with the NeXT developer package.

See More
Download TitleSizeDownload
Complete code for Professional iPhone and iPad Application Development 33.00 MB Click to Download
See More

Related Titles

Back to Top