Skip to content

Version 5.3

Latest
Compare
Choose a tag to compare
@Sam-Spencer Sam-Spencer released this 03 Jan 18:48

Updated GameCenterManager for iOS 7 and OS X 10.9 Improved Singleton. New features and enhancements.

New Features

  • Improved Singleton - Removed nil object creation and replaced allocWithZone:.
  • Improved private init method.
  • Added three new methods for presenting GameKit ViewControllers
  • New properties to handle encryption.
  • Improved sample apps

Breaking Changes

  • Added compiler checks for ARC, iOS 7, and OS X Mavericks 10.9.
  • Deprecated initGameCenter. Use setupManagerAndSetShouldCryptWithKey: or setupManager instead.
  • Encryption of local data is no longer required. Use the new setup methods to define encryption parameters, or to turn it OFF.

Known Issues
Changing the initial setup manager call between setupManagerAndSetShouldCryptWithKey: or setupManager will render the locally saved data unreadable. Changes in the encryption key will also render your data unreadable. This results in a crash. Therefore, changing these calls requires that you delete the GameCenterManager.plist from your app's library folder before changing. Encrypting locally saved data is a dangerous feature that is not recommended and will soon be removed from the library completely. In fact, this may be the last update with encryption compatibility.