Skip to Content
Writing Game Center Apps in iOS
book

Writing Game Center Apps in iOS

by Vandad Nahavandipoor
April 2011
Intermediate to advanced content levelIntermediate to advanced
80 pages
2h
English
O'Reilly Media, Inc.

Overview

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
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning ARKit for iPhone and iPad: Augmented Reality App Development for iOS

Beginning ARKit for iPhone and iPad: Augmented Reality App Development for iOS

Wallace Wang

Publisher Resources

ISBN: 9781449307950Supplemental ContentErrata Page