O'Reilly logo

The iPhone™ Developer’s Cookbook: Building Applications with the iPhone 3.0 SDK, Second Edition by Erica Sadun

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required