You are previewing Writing Game Center Apps in iOS.
O'Reilly logo
Writing Game Center Apps in iOS

Book Description

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.

Table of Contents

  1. Special Upgrade Offer
  2. A Note Regarding Supplemental Files
  3. Preface
    1. Conventions Used in This Book
    2. Using Code Examples
    3. Safari® Books Online
    4. How to Contact Us
    5. Acknowledgments
  4. 1. Game Center
    1. Introducing GCD and Block Objects
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    2. Creating Game Center Accounts
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    3. Setting Up Game Center for an iOS App
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    4. Adding the Game Kit Framework
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    5. Authenticating the Local Player in Game Center
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    6. Retrieving the Local Player’s Information
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    7. Adding Friends in Game Center
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    8. Retrieving the Local Player’s Friends Information
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    9. Creating Leaderboards in iTunes Connect
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    10. Reporting Scores to Leaderboards
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    11. Retrieving Leaderboards Information Programmatically
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    12. Displaying Leaderboards to Players
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    13. Creating Achievements in iTunes Connect
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    14. Reporting Achievements to Game Center
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    15. Retrieving Achievements Information Programmatically
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    16. Displaying Achievements to Players
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    17. Supporting Multiplayer Games and Matchmaking
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    18. Handling Players’ State Changes in Multiplayer Games
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
  5. About the Author
  6. Special Upgrade Offer
  7. Copyright