Chapter 2

Game Center: Setting Up and Getting Started

In the last chapter, we learned how to configure Game Center in iTunes Connect and began working with the sample project, UFOs. In this chapter, we will discuss integrating Game Center into our app, and get our hands dirty with some code.

You will learn how to detect Game Center compatibility, explore the limitations of the sandbox, authenticate a local player, work with sessions, and retrieve a friends list. You will also create the Game Center Manager class that we will be working with throughout the rest of the book.

Get Beginning iOS Game Center and Game Kit: For iPhone, iPad, and iPod touch 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.