I consider to add gamekit to my games,so I'm reading the gamekit source code now.
Does leaderborad only support the default category and timeScope?
Can you add these two parameters to showLeaderboard offically next version and use the default value if not pass that argument.
Comments
I've implemented this request and attached the updated plugin. The new plugin will be available officially with the next version.
Here is the sample usage:
* GameKit.TODAY = "today"
* GameKit.WEEK = "week"
* GameKit.ALL_TIME = "allTime"
And as you guess, these two types of usages are the same:
cheers,
Thanks for the fast implementation and detail sample.
BTW, I have published my game using a APP ID with a wild-card character (asterisk '*'),if I want to add game center, do I need to create a new APP ID without a wild-card character
and publish it as a new app on iTunes Connect.
https://sites.google.com/site/xraystudiogame
Where do you live? I thought you are sleeping now.
https://sites.google.com/site/xraystudiogame
There is a little problem in this new plugin coming with the lastest gideros.
if (category)
leaderboardVC.category = category;
Could you update it in next version.
https://sites.google.com/site/xraystudiogame
It seems many libs comes with it, and they are Incompatible and cause linker error.
https://sites.google.com/site/xraystudiogame
Do you think I should add the extra nil check anyway?
Yes,according to that document,it seems it's ok to pass nil to category.
I remember it always showed a leaderboard without any content that evening,so I checked the source code, and I log the value of leaderboardVC.category before and after that line.
leaderboardVC.category = category;
the output is:
2012-06-03 11:27:45.827 crazyball[6139:707] category is highscorecrazyball
2012-06-03 11:27:45.830 crazyball[6139:707] category is (null)
So it seems the value of leaderboardVC.category is the default one not nil after init.
https://sites.google.com/site/xraystudiogame
And I had added SystemConfiguration framework long time ago. Which linker error do you get?
clang: error: linker command failed with exit code 1 (use -v to see invocation)
https://sites.google.com/site/xraystudiogame
https://sites.google.com/site/xraystudiogame
Can you upload it somewhere on this site, maybe the same as where your private beta version is.
https://sites.google.com/site/xraystudiogame
https://sites.google.com/site/xraystudiogame
@atilim
did you forget to remove the unused library in the new version?
https://sites.google.com/site/xraystudiogame
https://sites.google.com/site/xraystudiogame