GameKit tvOS 13.4 to 14.0 API Differences

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

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

GKError.h
GKFriendRequestComposeViewController.h
Removed GKFriendRequestComposeViewController ()
Added GKFriendRequestComposeViewController ()
GKGameCenterViewController.h
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.

GKLeaderboardViewController.h
Removed GKLeaderboardViewController ()
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

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

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

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