Chapter     6

The Peer Picker

“I’m a great believer that any tool that enhances communication has profound effects in terms of how people can learn from each other, and how they can achieve the kind of freedoms that they’re interested in.”

—Bill Gates

In previous chapter, we explored how to find matches using Game Center. In this chapter, we will look at the other system iOS provides for finding peers to connect with. This system is called the Peer Picker and can be used to create a connection between two iOS devices using either Bluetooth or a local Wi-Fi network (LAN).

Before we begin working with the actual code, let’s take a quick look at the history surrounding Game Kit and Game Center. When Apple released iOS 3.0, at the time called ...

Get Beginning iOS Social Games 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.