Writing Game Center Apps in iOS: Bringing Your Players Into the Game


Learn how to integrate Game Center features directly into your iPhone and iPad apps with the recipes in this short and concise cookbook. Each recipe gives you the solution and the code for adding features such as leaderboards, user authentication, achievements, multiplayer games and many others, using Apple’s GameKit framework in the iOS SDK.

Now that Apple has introduced the GameKit framework to its iOS SDK, you can integrate Game Center features directly into your iPhone and iPad apps. This concise cookbook shows you how it’s done, with 18 targeted recipes for adding leaderboards, user authentication, achievements, multiplayer games, and many other features.

How do you display players’ scores and achievements? How do you create Game Center accounts and add friends? Each recipe in this book includes a simple code solution you can put to work immediately, along with a detailed discussion that offers insight into why and how the recipe works.

Recipes include techniques to:

  • Set up Game Center for an iOS App
  • Use block objects and Grand Central Dispatch to write Game Center apps
  • Authenticate a local player in Game Center
  • Use iTunes Connect to create leaderboards and achievements
  • Retrieve leaderboard and achievement information programmatically
  • Handle players’ state changes in multiplayer games

Book Details

  • Paperback: 70 pages
  • Publisher: O’Reilly Media (April 2011)
  • Language: English
  • ISBN-10: 1449305652
  • ISBN-13: 978-1449305659
Download [7.5 MiB]

You may also like...

Leave a Reply