GameKit macOS 10.15.6 to 11.0 API Differences

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

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

GKChallengesViewController.h
Declaration
From@property (atomic, assign) id<GKChallengesViewControllerDelegate> challengeDelegate
To@property (atomic, weak) id<GKChallengesViewControllerDelegate> challengeDelegate

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 (atomic, readonly, retain) NSArray<GKScore *> *scoresAvailablenone
To@property (atomic, 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 (atomic, readonly, retain) GKScore *localPlayerScoreAvailablenone
To@property (atomic, 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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