O'Reilly logo

Beginning iOS Social Games by Kyle Richter

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

Chapter     8

Exchanging Data

In the past few chapters, we explored how to connect to peers through a variety of methods. So far, we have not been able to do much with that connection. In this chapter, you will learn all that there is to know about exchanging data between sets of peers using Game Kit and Game Center networking. In previous chapters we have already added to our UFO game the ability to find peers using both Game Center and the Peer Picker (Game Kit). We will now add the ability to actually play a complete multiplayer match.

Because all the groundwork has already been laid out in previous chapters, there are only two items that we need to worry about for exchanging data. First, we need to send the actual data; second, we need to ...

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