- eBook:iPhone Cool Projects
- Author:Wolfgang Ante, Gary Bennett, Benjamin Jackson, Neil Mix, Steven Peterson, Matthew Rosenfeld, Michael Ash
- Edition:1st ed. edition
- Data:August 13, 2009
- Pages:240 pages
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 application―a 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.
2. Mike Ash’s Deep Dive Into Peer-to-Peer Networking
3. Doing Several Things at Once: Performance Enhancements with Threading
4. All Fingers and Thumbs: Multitouch Interface Design and Implementation
5. Physics, Sprites, and Animation with the cocos2d-iPhone Framework
6. Serious Streaming Audio the Pandora Radio Way
7. Going the Routesy Way with Core Location, XML, and SQLite