November 2011
Beginner
238 pages
6h 19m
English
This chapter introduced leaderboards in Game Center. We covered the benefits of using a leaderboard, as well as the two available types. We learned how to post a score and recover for any errors that occurred during posting. We also looked at the requirements of getting leaderboards up and running in your app, using either Apple's provided GUI or a custom one.
Throughout the chapter, we continued to build our GameCenterManager class, adding the required methods to post scores, retrieve scores both local and global, map playerIDs to GKPlayer objects, and display custom and built-in leaderboards.
You should now feel confident in adding a leaderboard to any existing or new iOS app. In the next chapter, we will explore all that Game Center ...