GameKit iOS 13.6 to 14.0 API Differences

GKAccessPoint.h
GKAchievement.h
Declaration
From@property (nonatomic, readonly, retain) GKPlayer *player
To@property (nonatomic, readonly, strong) GKPlayer *player

Declaration
From@property (nonatomic, readonly, copy) NSString *playerID
To@property (nonatomic, readonly, copy) NSString *playerID

GKChallenge.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedpass GKLeaderboardScore to reportLeaderboardScores:withEligibleChallenges:withCompletionHandler instead

GKChallengeEventHandler.h
Declaration
From@property (nonatomic, assign) id<GKChallengeEventHandlerDelegate> delegate
To@property (nonatomic, weak) id<GKChallengeEventHandlerDelegate> delegate

GKError.h
GKFriendRequestComposeViewController.h
Declaration
From@property (nonatomic, assign) id<GKFriendRequestComposeViewControllerDelegate> composeViewDelegate
To@property (nonatomic, weak) id<GKFriendRequestComposeViewControllerDelegate> composeViewDelegate

GKGameCenterViewController.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -initWithState: instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -initWithLeaderboard: instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -initWithLeaderboard: instead

GKLeaderboard.h
Declaration
From@property (nonatomic, readonly, retain) NSString *groupIdentifier
To@property (nonatomic, readonly, strong) NSString *groupIdentifier

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse loadEntriesForPlayerScope:timeScope:range:completionHandler: instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse loadEntriesForPlayerScope:timeScope:range:completionHandler: instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse loadEntriesForPlayerScope:timeScope:range:completionHandler: instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse loadEntriesForPlayerScope:timeScope:range:completionHandler: instead.

DeclarationAvailabilityDeprecation Message
From@property (nonatomic, readonly, retain) NSArray<GKScore *> *scoresAvailablenone
To@property (nonatomic, readonly, strong) NSArray<GKScore *> *scoresDeprecatedUse loadEntriesForPlayerScope:timeScope:range:completionHandler: to obtain scores.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse loadEntriesForPlayerScope:timeScope:range:completionHandler: method to obtain the size of the leaderboard.

DeclarationAvailabilityDeprecation Message
From@property (nonatomic, readonly, retain) GKScore *localPlayerScoreAvailablenone
To@property (nonatomic, readonly, strong) GKScore *localPlayerScoreDeprecatedUse loadEntriesForPlayerScope:timeScope:range:completionHandler: method to obtain scores.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse loadEntriesForPlayerScope:timeScope:range:completionHandler: method to obtain scores.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedDo not instantiate GKLeaderboard directly. Use class method loadLeaderboardsWithIDs:completionHandler: to get the leaderboards.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse instance method loadEntriesForPlayers:timeScope:completionHandler: instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse loadEntriesForPlayerScope:timeScope:range:completionHandler:.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse class method loadLeaderboardsWithIDs:completionHandler:

GKLeaderboardEntry.h
GKLeaderboardScore.h
GKLeaderboardSet.h
Declaration
From@property (nonatomic, readonly, retain) NSString *groupIdentifier
To@property (nonatomic, readonly, strong) NSString *groupIdentifier

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse loadLeaderboardsWithHandler: instead.

GKLocalPlayer.h
Removed GKAuthenticationType
Removed GKAuthenticatingWithoutUI
Removed GKAuthenticatingWithGreenBuddyUI
Removed GKAuthenticatingWithAuthKitInvocation
GKMatch.h
Declaration
From@property (nonatomic, assign) id<GKMatchDelegate> delegate
To@property (nonatomic, weak) id<GKMatchDelegate> delegate

Declaration
From@property (nonatomic, readonly) NSArray<NSString *> *playerIDs
To@property (nonatomic, readonly) NSArray<NSString *> *playerIDs

GKMatchmaker.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedSet the matchmakingMode of GKMatchmakerViewController instead.

GKMatchmakerViewController.h
Declaration
From@property (nonatomic, assign) id<GKMatchmakerViewControllerDelegate> matchmakerDelegate
To@property (nonatomic, weak) id<GKMatchmakerViewControllerDelegate> matchmakerDelegate

GKPeerPickerController.h
Declaration
From@property (nonatomic, assign) id<GKPeerPickerControllerDelegate> delegate
To@property (nonatomic, weak) id<GKPeerPickerControllerDelegate> delegate

GKPlayer.h
GKPublicConstants.h
GKScore.h
Modified GKScore
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedReplaced by GKLeaderboardEntry

Declaration
From@property (nonatomic, readonly, retain) NSString *playerID
To@property (nonatomic, readonly, retain) NSString *playerID

GKSession.h
Declaration
From@property (assign) id<GKSessionDelegate> delegate
To@property (weak) id<GKSessionDelegate> delegate

GKTurnBasedMatch.h
Declaration
From@property (nonatomic, readonly, retain) GKPlayer *player
To@property (nonatomic, readonly, strong) GKPlayer *player

Declaration
From@property (nonatomic, readonly, retain) NSString *matchID
To@property (nonatomic, readonly, strong) NSString *matchID

Declaration
From@property (nonatomic, readonly, retain) NSDate *creationDate
To@property (nonatomic, readonly, strong) NSDate *creationDate

Declaration
From@property (nonatomic, readonly, retain) NSArray<GKTurnBasedParticipant *> *participants
To@property (nonatomic, readonly, strong) NSArray<GKTurnBasedParticipant *> *participants

Declaration
From@property (nonatomic, readonly, retain) GKTurnBasedParticipant *currentParticipant
To@property (nonatomic, readonly, strong) GKTurnBasedParticipant *currentParticipant

Declaration
From@property (nonatomic, readonly, retain) NSData *matchData
To@property (nonatomic, readonly, strong) NSData *matchData

Declaration
From@property (nonatomic, readonly, retain) NSArray<GKTurnBasedExchange *> *exchanges
To@property (nonatomic, readonly, strong) NSArray<GKTurnBasedExchange *> *exchanges

Declaration
From@property (nonatomic, readonly, retain) NSArray<GKTurnBasedExchange *> *activeExchanges
To@property (nonatomic, readonly, strong) NSArray<GKTurnBasedExchange *> *activeExchanges

Declaration
From@property (nonatomic, readonly, retain) NSArray<GKTurnBasedExchange *> *completedExchanges
To@property (nonatomic, readonly, strong) NSArray<GKTurnBasedExchange *> *completedExchanges

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedpass GKLeaderboardScore to endMatchInTurnWithMatchData:scores:completionHandler instead

Declaration
From@property (nonatomic, assign) NSObject<GKTurnBasedEventHandlerDelegate> *delegate
To@property (nonatomic, weak) NSObject<GKTurnBasedEventHandlerDelegate> *delegate

GKVoiceChat.h
Declaration
From@property (nonatomic, readonly) NSArray<NSString *> *playerIDs
To@property (nonatomic, readonly) NSArray<NSString *> *playerIDs