Version 5.0
This update adds support for Game Center on Mac OS X and makes improvements to the iOS demo app. Improvements have also been made to error reporting, challenges, and player data.
Breaking Changes
No breaking changes in this release.
Other Changes
- Adds support for Mac OS X. Use the GameCenterManager Mac folder to access resources for the OS X compatible version of GameCenterManager. This also includes an OS X demo app that works with the iOS demo app.
- Improved Game Center Error Reporting. The
gameCenterManager: error:
delegate method now passes anNSError
as the error parameter instead of anNSDictionary
. NewGCMError
constants are provided as error codes in each error. - Makes improvements to thread management and background tasks - heavy background tasks like syncing to GameCenter (which involve networking, encryption, and file system management) are performed on the background thread and will continue to finish the process even after the user exits the app.
- Fixed bug where the
getChallenges
method would always return nil. ThegetChallenges:
method no longer returns a value - instead it uses a completion handler and delegate methods. - Added a new method to retrieve a player's profile picture,
localPlayerPhoto:(void (^)(UIImage *playerPhoto))handler
- Fixed bug where achievements may not sync, esp. after resetting achievements.
- Reorganized code
Known Issues
Resetting achievements causes them to reset on Game Center, but the cache remains locally. This cache eventually causes all achievement data to be uploaded to Game Center.