12. Making Connections with GameKit and Bonjour

This chapter introduces GameKit, the simplest way to connect two iPhone devices. GameKit is Apple’s new ad hoc networking solution for peer-to-peer connectivity. It’s built on a technology called Bonjour that offers simple, no-configuration communications between devices. With GameKit and Bonjour, you can build games and utilities that move information back and forth between iPhones or between an iPhone and a desktop system. In this chapter, you discover how to use GameKit to build connected applications. You expand GameKit communications to create a cooperative drawing system that transmits both user touches and a selected color. You see how to add GameKit Voice to your applications for walkie-talkie-style ...

Get The iPhone™ Developer’s Cookbook: Building Applications with the iPhone 3.0 SDK, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.