iPhone Cool Projects, 1st edition
Authors: Gary Bennett, Wolfgang Ante, Mike Ash, Benjamin Jackson, Neil Mix, Steven Peterson, Matthew Canis Rosenfeld
Venue:  (2009)

The iPhone and iPod touch have provided all software developers with a level playing fielddevelopers working alone have the same access to consumers as multinational software publishers. Very cool indeed! To make your application stand out from the crowd, though, it has to have that something extra. You must learn the skills to take your apps from being App Store filler to download chart-topping blockbusters. Developers with years of experience helped write this book. Spend some time understanding their code and why they took the approach they did. You will find the writing, illustrations, code, and sample applications second to none. No matter what type of application you are writing, you will find something in this book to help you make your app that little bit cooler. The book opens with Wolfgang Ante, the developer behind the Frenzic puzzle game, showing how timers, animation, and intelligence are used to make game play engaging. It moves on to Rogue Amoeba's Mike Ash explaining how to design a network protocol using UDP, and demonstrating its use in a peer-to-peer applicationa topic not normally for the faint of heart, but explained here in a way that makes sense to mere mortals. Gary Bennett then covers the important task of multithreading. Multithreading can be used to keep the user interface responsive while working on other tasks in the background. Gary demonstrates how to do this and highlights traps to avoid along the way. Next up, Canis Lupus (aka Matthew Rosenfeld) describes the development of the Keynote-controlling application Stage Hand, how the user interface has evolved, and the lessons he has learned from that experience. Benjamin Jackson then introduces two open source libraries: cocos2d, for 2D gaming; and Chipmunk, for rigid body physics (think collisions). He describes the development of Arcade Hockey, an air hockey game, and explains some of the code used for this. Neil Mix of Pandora Radio reveals the science behind processing streaming audio. How do you debug what you can't see? Neil guides you through the toughest challenges, sharing his experience of what works and what to watch out for when working with audio. Finally, Steven Peterson demonstrates a comprehensive integration of iPhone technologies. He weaves Core Location, networking, XML, XPath, and SQLite into a solid and very useful application. Software development can be hard work. Introductory books lay the foundation, but it can be challenging to understand where to go next. This book shows some of the pieces that can be brought together to make complete, cool applications. Who is this book for? All iPhone application developers with any level of experience or coming from any development platform Summary of Contents Wolfgang Ante - Designing a Simple, Frenzic-Style Puzzle Game Mike Ash - Mike Ashs Deep Dive Into Peer-to-Peer Networking Gary Bennett - Doing Several Things at Once: Performance Enhancements with Threading Matthew Canis Rosenfeld - All Fingers and Thumbs: Multitouch Interface Design and Implementation Benjamin Jackson - Physics, Sprites, and Animation with the cocos2d-iPhone Framework Neil Mix - Serious Streaming Audio the Pandora Radio Way Steven Peterson - Going the Routesy Way with Core Location, XML, and SQLite