: David Mark, Dylan Bruzenak, Joachim Bondo, Owen Goss, Peter Honeder, Ray Kiddy, Steve Finkelstein, T
: iPhone Advanced Projects
: Apress
: 9781430224044
: 1
: CHF 31.50
:
: Allgemeines, Lexika
: English
: 392
: Wasserzeichen/DRM
: PC/MAC/eReader/Tablet
: PDF

As the fourth book in our series of iPhone Projects based on the work and experiences of iPhone, this volume takes on the more advanced aspects of iPhone development. The first generation of iPhone applications has hit the App Store, and now it's time to optimize performance, streamline the user interface, and make every successful iPhone app just that much more sophisticated.

Paired with Apress's bestsellingBeginning iPhone Development: Exploring the iPhone SDK, you'll have everything you need to create the next great iPhone app that everyone is talking about.

  • Optimize performance.
  • Streamli e your user interface.
  • Do things with your iPhone app that other developers haven't attempted.

Along with series editorDave Mark, your guides for this exploration of the next level of iPhone development, include:

  • Ben 'Panda' Smith, discussing particle systems using OpenGL ES
  • Joachim Bondo, demonstrating his implementation of correspondence gaming in the most recent version of his chess application, Deep Green.
  • Tom Harrington implementing streaming audio with Core Audio, one of many iPhone OS 3 APIs.
  • Owen Goss debugging those pesky errors in your iPhone code with an eye toward achieving professional-strength results.
  • Dylan Bruzenak building a data-driven application with SQLite.
  • Ray Kiddy illustrating the full application development life cycle with Core Data.
  • Steve Finkelstein marrying an offline e-mail client to Core Data.
  • Peter Honeder andFlorian Pflug tackling the challenges of networked applications in WiFi environments.
  • Jona han Saggau improving interface responsiveness with some of his personal tips and tricks, including 'blocks' and other esoteric techniques.
  • Joe Pezzillo pushing the frontiers of APNS, the new in iPhone OS 3 Apple Push Notification Service that makes the cloud the limit for iPhone apps.
  • Noel Llopis taking mere programmers into a really advanced developmental adventure into the world of environment mapping with OpenGL ES.


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.
Dedication Page4
Contents at a Glance5
Table of Contents6
Foreword12
About the Technical Reviewer13
Preface14
Organization15
What s in the Book15
CHAPTER 1: Everything You Ever Wanted to Know About Particle Systems19
Adding Life to Your Game with Particles21
Basic Particle Systems and You23
Overview of the Sample Code24
Basic Game Flow25
The Anatomy of a Particle System26
Code! Finally!28
Slight Tangent About Degenerates31
Back to the Code32
Random Numbers and Initial Conditions35
Emitting Particles36
Tweaking Your Particle System37
May the Force Be with Your Particles41
Amazing Technicolor Dream Particle44
Off on a Tangent: Lerping44
Color-Changing Particles46
Summary51
Chapter 2: Chess on the Net: Correspondence Gaming with Deep Green55
Deep Green, an Already Awesome Application56
The Tasks at Hand58
Inviting a Friend to a Game59
Accepting the Invitation59
Making a Move59
Getting Notified59
The Tools of the Trade60
Stop Talking, Start Coding!61
Installing the Tools61
Coding the Web Service63
Accepting the Challenge on the Device70
Registering URL Scheme Support with iPhone OS70
Handling the URL Request70
Separating Data and Representation on the Server72
Making a Move73
On the Device73
On the Server75
Summary77
Chapter 3: Audio Streaming: An Exploration into Core Audio80
Hey, I Could Write an App to Play Music81
MPMoviePlayerController: Hey, This Is Easy! Right?81
Finding a Better Approach83
The System-Sound Way84
AVAudioPlayer: The Not-Available-in-Beta Way84
DOWNLOADING DATA WITH NSURLCONNECTION87
Doing It the Cowboy Way with Core Audio89
Getting Halfway There: Audio Queue Services89
A WORD ON PROGRAMMING LANGUAGES90
BEWARE THE SIMULATOR90
Getting the Rest of the Way There: Audio File Stream Services96
BUFFERING ON MOBILE DEVICES99
THE AUDIO SESSION107
Putting It All into an App108
One More Thing108
Launch It111
iPhone 3.0 and Further Work111
Summary112
Chapter 4: You Go Squish Now! Debugging on the iPhone115
Assumed Knowledge116
Objective-C vs. C and C++118
While You re Writing That Code119
Custom Asserts119