"Great for beginners -- even if you don't know object-oriented programming, you can learn from examples on the 'Net and be on your way very soon. You will be able to confidently build apps that rival the ones included by Apple itself."
-- Josh Content, iPhone Developer
Developers everywhere are eager to create applications for the iPhone, and many of them prefer the open source, community-developed tool chain to Apple's own toolkit. In this new edition of iPhone Open Application Development, author Jonathan Zdziarski covers the latest version of the open toolkit -- now updated for Apple's iPhone 2.x software and iPhone 3G -- and explains in clear language how to create applications using Objective-C and the iPhone API.
Zdziarski, who cracked the iPhone code and built the first fully-functional application with the open toolkit, includes detailed recipes and complete examples for graphics and audio programming, games programming with the CoreSurfaces and CoreImage interfaces, working with iTunes, and using sensors. With the open toolkit and this book, you can build iPhone applications that:
Display status bars, preference tables, and other standard elements of the iPhone user interface
Play pre-recorded files or program-generated sounds
Read and write plain text files and HTML files, including pages from the Web, and control display elements, such as scrollbars
Read and respond to changes in orientation when the user turns the phone around
And more. The first edition of this book developed an instant following and became the center of a movement. The second edition of iPhone Open Application Development will make this open source toolkit an indispensable part of iPhone application development.
Chapter 1 Breaking Into and Setting Up the iPhone
Installing Additional Unix Components
Chapter 2 Getting Started with Applications
Anatomy of an Application
Building the Free Tool Chain
Building and Installing Applications
Transitioning to Objective-C
Chapter 3 Introduction to UIKit
Basic User Interface Elements
Windows and Views
The Most Useless Application Ever
Deriving from UIView
The Second Most Useless Application Ever
Status Bar Manipulation
Chapter 4 Event Handling and Graphics Services
Introduction to Geometric Structures
Introduction to GSEvent
Example: The Icon Shuffle
Chapter 5 Advanced Graphics Programming with Core Surface and Quartz Core
Chapter 6 Making Some Noise
Core Audio: It’s Great, but You Can’t Use It
Chapter 7 Advanced UIKit Design
UIProgressBar: When Spinny Things Are Tacky
Progress HUDs: When It’s Important Enough to Block Stuff
Jonathan Zdziarski is better known as the hacker "NerveGas" in the iPhone development community. His work in cracking the iPhone helped lead the effort to port the first open source applications, and his book, iPhone Open Application Development, taught developers how to write applications for the popular device long before Apple introduced its own SDK. Prior to the release of iPhone Forensics, Jonathan wrote and supported an iPhone forensics manual distributed exclusively to law enforcement. Jonathan frequently consults law enforcement agencies and assists forensic examiners in their investigations. He teaches an iPhone forensics workshop in his spare time to train forensic examiners and corporate security personnel.
Jonathan is also a full-time research scientist specializing in machine learning technology to combat online fraud and spam, an effort that led him to develop networking products capable of learning how to protect customers. He is founder of the DSPAM project, a high-profile, next-generation spam filter that was acquired in 2006 by Sensory Networks, Inc. He lectures widely on the topic of spam and is a foremost researcher in the fields of machine-learning and algorithmic theory.