GameKit Add Delta Reporting of Scores

Originator:jacopo
Number:rdar://15857639 Date Originated:20-Jan-2014 12:38 PM
Status:Open Resolved:
Product:OS X SDK Product Version:OS X SDK 10.9
Classification:Feautre (New) Reproducible:Not Applicable
 
Summary:
See rdar://15857629
In the SKScore API it is possible only to send the total points to show in the leaderboard, but it can be useful to add a new API that is used only to add a delta value to the score already submitted.

Steps to Reproduce:
1. Create an SKScore object
2. Add a value to report

Expected Results:
The value inserted can be specified to be a delta value to sum to the score already present in the leaderboard or create a new one if is the first score sent.

Actual Results:
To add a delta value to the score in the leaderboard first the developer would call the SKLeaderboard API to load the score submitted by the player and then add the value to the one retrieved or send a new one if the methods return an empty array of scores.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!