Skip to content

Version 5.0

Compare
Choose a tag to compare
@Sam-Spencer Sam-Spencer released this 21 Oct 20:58

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 an NSError as the error parameter instead of an NSDictionary. New GCMError 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. The getChallenges: 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.