GameKit Changes
GameKit
GKAchievement.h
Added GKAchievement.player
Added GKAchievement(Deprecated)
Modified -[GKAchievement initWithIdentifier:]
| Declaration | |
|---|---|
| From | - (id)initWithIdentifier:(NSString *)identifier |
| To | - (instancetype)initWithIdentifier:(NSString *)identifier |
| Declaration | Deprecation | |
|---|---|---|
| From | - (id)initWithIdentifier:(NSString *)identifier forPlayer:(NSString *)playerID | -- |
| To | - (instancetype)initWithIdentifier:(NSString *)identifier forPlayer:(NSString *)playerID | iOS 8.0 |
Modified GKAchievement.playerID
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.0 |
GKAchievementViewController.h
Added GKAchievementViewController()
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<GKAchievementViewControllerDelegate> achievementDelegate |
| To | @property(assign, nonatomic) id<GKAchievementViewControllerDelegate> achievementDelegate |
GKChallenge.h
Added GKAchievement(GKChallengeDeprecated)
Added GKScore(GKChallengeDeprecated)
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.0 |
Modified GKChallenge.issuingPlayerID
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.0 |
Modified GKChallenge.receivingPlayerID
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.0 |
GKChallengeEventHandler.h
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
GKError.h
GKEventListener.h
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
GKFriendRequestComposeViewController.h
Added GKFriendRequestComposeViewController()
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.0 |
GKGameCenterViewController.h
Added GKGameCenterViewController()
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<GKGameCenterControllerDelegate> gameCenterDelegate |
| To | @property(assign, nonatomic) id<GKGameCenterControllerDelegate> gameCenterDelegate |
Modified GKGameCenterViewController.viewState
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) GKGameCenterViewControllerState viewState |
| To | @property(assign, nonatomic) GKGameCenterViewControllerState viewState |
GKLeaderboard.h
Added GKLeaderboard(Deprecated)
Modified -[GKLeaderboard init]
| Declaration | |
|---|---|
| From | - (id)init |
| To | - (instancetype)init |
Modified -[GKLeaderboard initWithPlayerIDs:]
| Declaration | Deprecation | |
|---|---|---|
| From | - (id)initWithPlayerIDs:(NSArray *)playerIDs | -- |
| To | - (instancetype)initWithPlayerIDs:(NSArray *)playerIDs | iOS 8.0 |
GKLeaderboardViewController.h
Added GKLeaderboardViewController()
Modified GKLeaderboardViewController.category
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) NSString *category |
| To | @property(copy, nonatomic) NSString *category |
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<GKLeaderboardViewControllerDelegate> leaderboardDelegate |
| To | @property(assign, nonatomic) id<GKLeaderboardViewControllerDelegate> leaderboardDelegate |
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) GKLeaderboardTimeScope timeScope |
| To | @property(assign, nonatomic) GKLeaderboardTimeScope timeScope |
GKLocalPlayer.h
Added GKLocalPlayer(Deprecated)
Modified GKLocalPlayer.friends
| Deprecation | Introduction | |
|---|---|---|
| From | -- | iOS 4.0 |
| To | iOS 8.0 | iOS 4.1 |
| Deprecation | Introduction | |
|---|---|---|
| From | -- | iOS 4.0 |
| To | iOS 8.0 | iOS 4.1 |
| Declaration | |
|---|---|
| From | - (void)setDefaultLeaderboardCategoryID:(NSString *)catogoryID completionHandler:(void (^)(NSError *error))completionHandler |
| To | - (void)setDefaultLeaderboardCategoryID:(NSString *)categoryID completionHandler:(void (^)(NSError *error))completionHandler |
Modified GKLocalPlayerListener
| Protocols | |
|---|---|
| From | GKChallengeListener, GKInviteEventListener, GKTurnBasedEventListener |
| To | GKChallengeListener, GKInviteEventListener, GKSavedGameListener, GKTurnBasedEventListener |
GKMatch.h
Added GKMatch.players
Added GKMatch(Deprecated)
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.0 |
Modified GKMatch.playerIDs
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.0 |
| Deprecation | Introduction | |
|---|---|---|
| From | -- | iOS 4.0 |
| To | iOS 8.0 | iOS 4.1 |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Deprecation | Optional | |
|---|---|---|
| From | -- | -- |
| To | iOS 8.0 | yes |
| Deprecation | Optional | |
|---|---|---|
| From | -- | -- |
| To | iOS 8.0 | yes |
| Deprecation | Optional | |
|---|---|---|
| From | -- | -- |
| To | iOS 8.0 | yes |
GKMatchmaker.h
Added GKInvite.sender
Added GKMatchmaker(GKDeprecated)
Modified GKInvite.inviter
| Deprecation | Introduction | |
|---|---|---|
| From | -- | iOS 4.0 |
| To | iOS 8.0 | iOS 4.1 |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Deprecation | Optional | |
|---|---|---|
| From | -- | -- |
| To | iOS 8.0 | yes |
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) NSUInteger defaultNumberOfPlayers |
| To | @property(assign) NSUInteger defaultNumberOfPlayers |
Modified GKMatchRequest.inviteMessage
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSString *inviteMessage |
| To | @property(copy) NSString *inviteMessage |
| Declaration | Deprecation | |
|---|---|---|
| From | @property(nonatomic, copy) void (^inviteeResponseHandler)(NSString *playerID, GKInviteeResponse response) | -- |
| To | @property(copy) void (^inviteeResponseHandler)(NSString *playerID, GKInviteeResponse response) | iOS 8.0 |
Modified GKMatchRequest.maxPlayers
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) NSUInteger maxPlayers |
| To | @property(assign) NSUInteger maxPlayers |
Modified GKMatchRequest.minPlayers
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) NSUInteger minPlayers |
| To | @property(assign) NSUInteger minPlayers |
Modified GKMatchRequest.playerAttributes
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) uint32_t playerAttributes |
| To | @property(assign) uint32_t playerAttributes |
Modified GKMatchRequest.playerGroup
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) NSUInteger playerGroup |
| To | @property(assign) NSUInteger playerGroup |
Modified GKMatchRequest.playersToInvite
| Declaration | Deprecation | |
|---|---|---|
| From | @property(nonatomic, retain) NSArray *playersToInvite | -- |
| To | @property(retain) NSArray *playersToInvite | iOS 8.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.0 |
| Deprecation | Introduction | |
|---|---|---|
| From | -- | iOS 4.0 |
| To | iOS 8.0 | iOS 4.1 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.0 |
GKMatchmakerViewController.h
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.0 |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Deprecation | Optional | |
|---|---|---|
| From | -- | -- |
| To | iOS 8.0 | yes |
Modified -[GKMatchmakerViewControllerDelegate matchmakerViewController:didReceiveAcceptFromHostedPlayer:]
| Deprecation | Optional | |
|---|---|---|
| From | -- | -- |
| To | iOS 8.0 | yes |
GKPeerPickerController.h
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
Modified GKPeerPickerConnectionTypeNearby
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 7.0 |
Modified GKPeerPickerConnectionTypeOnline
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 7.0 |
GKPlayer.h
Added GKPlayer(Deprecated)
GKPublicProtocols.h
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
GKSavedGame.h (Added)
Added GKSavedGame
Added GKSavedGame.deviceName
Added GKSavedGame.name
Added GKLocalPlayer(GKSavedGame)
GKSavedGameListener.h (Added)
GKScore.h
Added GKScore.player
Added GKScore(Deprecated)
Modified GKScore.context
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) uint64_t context |
| To | @property(assign, nonatomic) uint64_t context |
Modified -[GKScore initWithCategory:]
| Declaration | |
|---|---|
| From | - (id)initWithCategory:(NSString *)category |
| To | - (instancetype)initWithCategory:(NSString *)category |
| Declaration | |
|---|---|
| From | - (id)initWithLeaderboardIdentifier:(NSString *)identifier |
| To | - (instancetype)initWithLeaderboardIdentifier:(NSString *)identifier |
| Declaration | Deprecation | |
|---|---|---|
| From | - (id)initWithLeaderboardIdentifier:(NSString *)identifier forPlayer:(NSString *)playerID | -- |
| To | - (instancetype)initWithLeaderboardIdentifier:(NSString *)identifier forPlayer:(NSString *)playerID | iOS 8.0 |
Modified GKScore.playerID
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.0 |
GKSession.h
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 7.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 7.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 7.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 7.0 |
Modified GKSession.sessionMode
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 7.0 |
GKTurnBasedMatch.h
Modified GKTurnBasedEventHandlerDelegate
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 7.0 |
| Introduction | Optional | |
|---|---|---|
| From | iOS 5.0 | -- |
| To | iOS 6.0 | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Deprecation | Optional | |
|---|---|---|
| From | -- | -- |
| To | iOS 8.0 | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
Modified GKTurnBasedExchange.status
| Declaration | |
|---|---|
| From | @property(readonly, nonatomic) GKTurnBasedExchangeStatus status |
| To | @property(assign, readonly, nonatomic) GKTurnBasedExchangeStatus status |
Modified GKTurnBasedParticipant.playerID
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.0 |
GKTurnBasedMatchmakerViewController.h
Added GKTurnBasedMatchmakerViewController()
GKVoiceChat.h
Added GKVoiceChat.players
Added GKVoiceChat(Deprecated)
Modified GKVoiceChat.playerIDs
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.0 |
Modified GKVoiceChat.playerStateUpdateHandler
| Deprecation | Introduction | |
|---|---|---|
| From | -- | iOS 4.0 |
| To | iOS 8.0 | iOS 4.1 |
Modified -[GKVoiceChat setMute:forPlayer:]
| Deprecation | Introduction | |
|---|---|---|
| From | -- | iOS 4.0 |
| To | iOS 8.0 | iOS 5.0 |