Вопрос

I have an iOS app using Sprite Kit that I would like to add a simple leaderboard. I have tried several tutorials, but all are for an older version of Xcode and iTunes connect. As of now I have successfully authenticated the user (ie. when I open the app it says welcome back, or asks to log in if I am not logged in).

Could someone please point me in the direction of a tutorial that encompasses a simple leaderboard (such as in Flappy Bird) that will explain the iTunesConnect side and coding within my app that is up to date with iOS 7 and Xcode 5? Thank you!

Это было полезно?

Решение

The apple documentation for leaderboards is quite good. It explains how to do the iTunes connection portion and another page has the Xcode implementation with code examples. You can find the iTunes connect info here: https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnectGameCenter_Guide/Leaderboards/Leaderboards.html#//apple_ref/doc/uid/TP40013726-CH2-SW1 The code examples are here: https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/GameKit_Guide/Achievements/Achievements.html#//apple_ref/doc/uid/TP40008304-CH7-SW3 Outside of that the app coda link that Iraklii mentioned is a great one.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top