GameKit Changes for Objective-C
GameKit
GKAchievement.h
Modified GKAchievement.identifier
Declaration | |
---|---|
From | @property(copy, atomic) NSString *identifier |
To | @property(copy, atomic, nullable) NSString *identifier |
Modified -[GKAchievement initWithIdentifier:]
Declaration | |
---|---|
From | - (instancetype)initWithIdentifier:(NSString *)identifier |
To | - (instancetype _Nonnull)initWithIdentifier:(NSString * _Nullable)identifier |
Declaration | |
---|---|
From | - (instancetype)initWithIdentifier:(NSString *)identifier player:(GKPlayer *)player |
To | - (instancetype _Nonnull)initWithIdentifier:(NSString * _Nullable)identifier player:(GKPlayer * _Nonnull)player |
Modified GKAchievement.lastReportedDate
Declaration | |
---|---|
From | @property(copy, readonly, atomic) NSDate *lastReportedDate |
To | @property(copy, readonly, atomic, nonnull) NSDate *lastReportedDate |
Declaration | |
---|---|
From | + (void)loadAchievementsWithCompletionHandler:(void (^)(NSArray *achievements, NSError *error))completionHandler |
To | + (void)loadAchievementsWithCompletionHandler:(void (^ _Nullable)(NSArray<GKAchievement *> * _Nullable achievements, NSError * _Nullable error))completionHandler |
Modified GKAchievement.player
Declaration | |
---|---|
From | @property(readonly, retain, atomic) GKPlayer *player |
To | @property(readonly, retain, atomic, nonnull) GKPlayer *player |
Declaration | |
---|---|
From | + (void)reportAchievements:(NSArray *)achievements withCompletionHandler:(void (^)(NSError *error))completionHandler |
To | + (void)reportAchievements:(NSArray<GKAchievement *> * _Nonnull)achievements withCompletionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)reportAchievementWithCompletionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)reportAchievementWithCompletionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | + (void)resetAchievementsWithCompletionHandler:(void (^)(NSError *error))completionHandler |
To | + (void)resetAchievementsWithCompletionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
GKAchievementDescription.h
Declaration | |
---|---|
From | @property(copy, readonly, atomic) NSString *achievedDescription |
To | @property(copy, readonly, atomic, nullable) NSString *achievedDescription |
Declaration | |
---|---|
From | @property(nonatomic, retain, readonly) NSString *groupIdentifier |
To | @property(nonatomic, retain, readonly, nullable) NSString *groupIdentifier |
Modified GKAchievementDescription.identifier
Declaration | |
---|---|
From | @property(copy, readonly, atomic) NSString *identifier |
To | @property(copy, readonly, atomic, nullable) NSString *identifier |
Modified GKAchievementDescription.image
Declaration | |
---|---|
From | @property(atomic, retain, readonly) NSImage *image |
To | @property(atomic, retain, readonly, nullable) NSImage *image |
Declaration | |
---|---|
From | + (NSImage *)incompleteAchievementImage |
To | + (NSImage * _Nonnull)incompleteAchievementImage |
Declaration | |
---|---|
From | + (void)loadAchievementDescriptionsWithCompletionHandler:(void (^)(NSArray *descriptions, NSError *error))completionHandler |
To | + (void)loadAchievementDescriptionsWithCompletionHandler:(void (^ _Nullable)(NSArray<GKAchievementDescription *> * _Nullable descriptions, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)loadImageWithCompletionHandler:(void (^)(NSImage *image, NSError *error))completionHandler |
To | - (void)loadImageWithCompletionHandler:(void (^ _Nullable)(NSImage * _Nullable image, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | + (NSImage *)placeholderCompletedAchievementImage |
To | + (NSImage * _Nonnull)placeholderCompletedAchievementImage |
Modified GKAchievementDescription.title
Declaration | |
---|---|
From | @property(copy, readonly, atomic) NSString *title |
To | @property(copy, readonly, atomic, nullable) NSString *title |
Declaration | |
---|---|
From | @property(copy, readonly, atomic) NSString *unachievedDescription |
To | @property(copy, readonly, atomic, nullable) NSString *unachievedDescription |
GKAchievementViewController.h
GKChallenge.h
Declaration | |
---|---|
From | - (NSViewController *)challengeComposeControllerWithMessage:(NSString *)message players:(NSArray *)players completionHandler:(GKChallengeComposeCompletionBlock)completionHandler |
To | - (NSViewController * _Nonnull)challengeComposeControllerWithMessage:(NSString * _Nullable)message players:(NSArray<GKPlayer *> * _Nonnull)players completionHandler:(GKChallengeComposeCompletionBlock _Nullable)completionHandler |
Declaration | |
---|---|
From | - (void)issueChallengeToPlayers:(NSArray *)playerIDs message:(NSString *)message |
To | - (void)issueChallengeToPlayers:(NSArray<NSString *> * _Nullable)playerIDs message:(NSString * _Nullable)message |
Declaration | |
---|---|
From | + (void)reportAchievements:(NSArray *)achievements withEligibleChallenges:(NSArray *)challenges withCompletionHandler:(void (^)(NSError *error))completionHandler |
To | + (void)reportAchievements:(NSArray<GKAchievement *> * _Nonnull)achievements withEligibleChallenges:(NSArray<GKChallenge *> * _Nonnull)challenges withCompletionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)selectChallengeablePlayerIDs:(NSArray *)playerIDs withCompletionHandler:(void (^)(NSArray *challengeablePlayerIDs, NSError *error))completionHandler |
To | - (void)selectChallengeablePlayerIDs:(NSArray<NSString *> * _Nullable)playerIDs withCompletionHandler:(void (^ _Nullable)(NSArray<NSString *> * _Nullable challengeablePlayerIDs, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)selectChallengeablePlayers:(NSArray *)players withCompletionHandler:(void (^)(NSArray *challengeablePlayers, NSError *error))completionHandler |
To | - (void)selectChallengeablePlayers:(NSArray<GKPlayer *> * _Nonnull)players withCompletionHandler:(void (^ _Nullable)(NSArray<GKPlayer *> * _Nullable challengeablePlayers, NSError * _Nullable error))completionHandler |
Modified GKAchievementChallenge.achievement
Declaration | |
---|---|
From | @property(nonatomic, readonly, retain) GKAchievement *achievement |
To | @property(nonatomic, readonly, retain, nullable) GKAchievement *achievement |
Modified GKChallenge.completionDate
Declaration | |
---|---|
From | @property(nonatomic, readonly, retain) NSDate *completionDate |
To | @property(nonatomic, readonly, retain, nullable) NSDate *completionDate |
Modified GKChallenge.issueDate
Declaration | |
---|---|
From | @property(nonatomic, readonly, retain) NSDate *issueDate |
To | @property(nonatomic, readonly, retain, nonnull) NSDate *issueDate |
Modified GKChallenge.issuingPlayer
Declaration | |
---|---|
From | @property(nonatomic, readonly, copy) GKPlayer *issuingPlayer |
To | @property(nonatomic, readonly, copy, nullable) GKPlayer *issuingPlayer |
Modified GKChallenge.issuingPlayerID
Declaration | |
---|---|
From | @property(nonatomic, readonly, copy) NSString *issuingPlayerID |
To | @property(nonatomic, readonly, copy, nullable) NSString *issuingPlayerID |
Declaration | |
---|---|
From | + (void)loadReceivedChallengesWithCompletionHandler:(void (^)(NSArray *challenges, NSError *error))completionHandler |
To | + (void)loadReceivedChallengesWithCompletionHandler:(void (^ _Nullable)(NSArray<GKChallenge *> * _Nullable challenges, NSError * _Nullable error))completionHandler |
Modified GKChallenge.message
Declaration | |
---|---|
From | @property(nonatomic, readonly, copy) NSString *message |
To | @property(nonatomic, readonly, copy, nullable) NSString *message |
Modified GKChallenge.receivingPlayer
Declaration | |
---|---|
From | @property(nonatomic, readonly, copy) GKPlayer *receivingPlayer |
To | @property(nonatomic, readonly, copy, nullable) GKPlayer *receivingPlayer |
Modified GKChallenge.receivingPlayerID
Declaration | |
---|---|
From | @property(nonatomic, readonly, copy) NSString *receivingPlayerID |
To | @property(nonatomic, readonly, copy, nullable) NSString *receivingPlayerID |
Declaration | |
---|---|
From | - (NSViewController *)challengeComposeControllerWithMessage:(NSString *)message players:(NSArray *)players completionHandler:(GKChallengeComposeCompletionBlock)completionHandler |
To | - (NSViewController * _Nonnull)challengeComposeControllerWithMessage:(NSString * _Nullable)message players:(NSArray<GKPlayer *> * _Nullable)players completionHandler:(GKChallengeComposeCompletionBlock _Nullable)completionHandler |
Declaration | |
---|---|
From | - (void)issueChallengeToPlayers:(NSArray *)playerIDs message:(NSString *)message |
To | - (void)issueChallengeToPlayers:(NSArray<NSString *> * _Nullable)playerIDs message:(NSString * _Nullable)message |
Declaration | |
---|---|
From | + (void)reportScores:(NSArray *)scores withEligibleChallenges:(NSArray *)challenges withCompletionHandler:(void (^)(NSError *error))completionHandler |
To | + (void)reportScores:(NSArray<GKScore *> * _Nonnull)scores withEligibleChallenges:(NSArray<GKChallenge *> * _Nonnull)challenges withCompletionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Modified GKScoreChallenge.score
Declaration | |
---|---|
From | @property(nonatomic, readonly, retain) GKScore *score |
To | @property(nonatomic, readonly, retain, nullable) GKScore *score |
GKDialogController.h
Modified -[GKDialogController dismiss:]
Declaration | |
---|---|
From | - (IBAction)dismiss:(id)sender |
To | - (IBAction)dismiss:(id _Nonnull)sender |
Modified GKDialogController.parentWindow
Declaration | |
---|---|
From | @property(assign) IBOutlet NSWindow *parentWindow |
To | @property(assign, nullable) IBOutlet NSWindow *parentWindow |
Declaration | |
---|---|
From | - (BOOL)presentViewController:(NSViewController<GKViewController> *)viewController |
To | - (BOOL)presentViewController:(NSViewController<GKViewController> * _Nonnull)viewController |
Declaration | |
---|---|
From | + (GKDialogController *)sharedDialogController |
To | + (GKDialogController * _Nonnull)sharedDialogController |
GKEventListener.h
Declaration | |
---|---|
From | - (void)player:(GKPlayer *)player didCompleteChallenge:(GKChallenge *)challenge issuedByFriend:(GKPlayer *)friendPlayer |
To | - (void)player:(GKPlayer * _Nonnull)player didCompleteChallenge:(GKChallenge * _Nonnull)challenge issuedByFriend:(GKPlayer * _Nonnull)friendPlayer |
Declaration | |
---|---|
From | - (void)player:(GKPlayer *)player didReceiveChallenge:(GKChallenge *)challenge |
To | - (void)player:(GKPlayer * _Nonnull)player didReceiveChallenge:(GKChallenge * _Nonnull)challenge |
Declaration | |
---|---|
From | - (void)player:(GKPlayer *)player issuedChallengeWasCompleted:(GKChallenge *)challenge byFriend:(GKPlayer *)friendPlayer |
To | - (void)player:(GKPlayer * _Nonnull)player issuedChallengeWasCompleted:(GKChallenge * _Nonnull)challenge byFriend:(GKPlayer * _Nonnull)friendPlayer |
Declaration | |
---|---|
From | - (void)player:(GKPlayer *)player wantsToPlayChallenge:(GKChallenge *)challenge |
To | - (void)player:(GKPlayer * _Nonnull)player wantsToPlayChallenge:(GKChallenge * _Nonnull)challenge |
GKFriendRequestComposeViewController.h
Declaration | |
---|---|
From | - (void)addRecipientPlayers:(NSArray *)players |
To | - (void)addRecipientPlayers:(NSArray<GKPlayer *> * _Nonnull)players |
Declaration | |
---|---|
From | - (void)addRecipientsWithEmailAddresses:(NSArray *)emailAddresses |
To | - (void)addRecipientsWithEmailAddresses:(NSArray<NSString *> * _Nonnull)emailAddresses |
Declaration | |
---|---|
From | - (void)addRecipientsWithPlayerIDs:(NSArray *)playerIDs |
To | - (void)addRecipientsWithPlayerIDs:(NSArray<NSString *> * _Nonnull)playerIDs |
Declaration | |
---|---|
From | @property(nonatomic, assign) id<GKFriendRequestComposeViewControllerDelegate> composeViewDelegate |
To | @property(nonatomic, assign, nullable) id<GKFriendRequestComposeViewControllerDelegate> composeViewDelegate |
Declaration | |
---|---|
From | - (void)setMessage:(NSString *)message |
To | - (void)setMessage:(NSString * _Nullable)message |
Modified -[GKFriendRequestComposeViewControllerDelegate friendRequestComposeViewControllerDidFinish:]
Declaration | |
---|---|
From | - (void)friendRequestComposeViewControllerDidFinish:(GKFriendRequestComposeViewController *)viewController |
To | - (void)friendRequestComposeViewControllerDidFinish:(GKFriendRequestComposeViewController * _Nonnull)viewController |
GKGameCenterViewController.h
Declaration | |
---|---|
From | - (void)gameCenterViewControllerDidFinish:(GKGameCenterViewController *)gameCenterViewController |
To | - (void)gameCenterViewControllerDidFinish:(GKGameCenterViewController * _Nonnull)gameCenterViewController |
Declaration | |
---|---|
From | @property(assign, atomic) id<GKGameCenterControllerDelegate> gameCenterDelegate |
To | @property(assign, atomic, nullable) id<GKGameCenterControllerDelegate> gameCenterDelegate |
Declaration | |
---|---|
From | @property(nonatomic, retain) NSString *leaderboardCategory |
To | @property(nonatomic, retain, nullable) NSString *leaderboardCategory |
Declaration | |
---|---|
From | @property(nonatomic, retain) NSString *leaderboardIdentifier |
To | @property(nonatomic, retain, nullable) NSString *leaderboardIdentifier |
Deprecation | |
---|---|
From | OS X 10.10 |
To | -- |
GKLeaderboard.h
Modified GKLeaderboard.category
Declaration | |
---|---|
From | @property(copy, atomic) NSString *category |
To | @property(copy, atomic, nullable) NSString *category |
Modified GKLeaderboard.groupIdentifier
Declaration | |
---|---|
From | @property(nonatomic, readonly, retain) NSString *groupIdentifier |
To | @property(nonatomic, readonly, retain, nullable) NSString *groupIdentifier |
Modified GKLeaderboard.identifier
Declaration | |
---|---|
From | @property(copy, atomic) NSString *identifier |
To | @property(copy, atomic, nullable) NSString *identifier |
Modified -[GKLeaderboard init]
Declaration | |
---|---|
From | - (instancetype)init |
To | - (instancetype _Nonnull)init |
Modified -[GKLeaderboard initWithPlayerIDs:]
Declaration | |
---|---|
From | - (instancetype)initWithPlayerIDs:(NSArray *)playerIDs |
To | - (instancetype _Nullable)initWithPlayerIDs:(NSArray<NSString *> * _Nullable)playerIDs |
Modified -[GKLeaderboard initWithPlayers:]
Declaration | |
---|---|
From | - (instancetype)initWithPlayers:(NSArray *)players |
To | - (instancetype _Nonnull)initWithPlayers:(NSArray<GKPlayer *> * _Nonnull)players |
Declaration | |
---|---|
From | + (void)loadCategoriesWithCompletionHandler:(void (^)(NSArray *categories, NSArray *titles, NSError *error))completionHandler |
To | + (void)loadCategoriesWithCompletionHandler:(void (^ _Nullable)(NSArray<NSString *> * _Nullable categories, NSArray<NSString *> * _Nullable titles, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)loadImageWithCompletionHandler:(void (^)(NSImage *image, NSError *error))completionHandler |
To | - (void)loadImageWithCompletionHandler:(void (^ _Nullable)(NSImage * _Nullable image, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | + (void)loadLeaderboardsWithCompletionHandler:(void (^)(NSArray *leaderboards, NSError *error))completionHandler |
To | + (void)loadLeaderboardsWithCompletionHandler:(void (^ _Nullable)(NSArray<GKLeaderboard *> * _Nullable leaderboards, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)loadScoresWithCompletionHandler:(void (^)(NSArray *scores, NSError *error))completionHandler |
To | - (void)loadScoresWithCompletionHandler:(void (^ _Nullable)(NSArray<GKScore *> * _Nullable scores, NSError * _Nullable error))completionHandler |
Modified GKLeaderboard.localPlayerScore
Declaration | |
---|---|
From | @property(readonly, retain, atomic) GKScore *localPlayerScore |
To | @property(readonly, retain, atomic, nullable) GKScore *localPlayerScore |
Modified GKLeaderboard.scores
Declaration | |
---|---|
From | @property(readonly, retain, atomic) NSArray *scores |
To | @property(readonly, retain, atomic, nullable) NSArray<GKScore *> *scores |
Declaration | |
---|---|
From | + (void)setDefaultLeaderboard:(NSString *)leaderboardIdentifier withCompletionHandler:(void (^)(NSError *error))completionHandler |
To | + (void)setDefaultLeaderboard:(NSString * _Nullable)leaderboardIdentifier withCompletionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Modified GKLeaderboard.title
Declaration | |
---|---|
From | @property(readonly, copy, atomic) NSString *title |
To | @property(readonly, copy, atomic, nullable) NSString *title |
GKLeaderboardSet.h
Modified GKLeaderboardSet.groupIdentifier
Declaration | |
---|---|
From | @property(nonatomic, readonly, retain) NSString *groupIdentifier |
To | @property(nonatomic, readonly, retain, nullable) NSString *groupIdentifier |
Modified GKLeaderboardSet.identifier
Declaration | |
---|---|
From | @property(copy, atomic) NSString *identifier |
To | @property(copy, atomic, nullable) NSString *identifier |
Declaration | |
---|---|
From | - (void)loadImageWithCompletionHandler:(void (^)(NSImage *image, NSError *error))completionHandler |
To | - (void)loadImageWithCompletionHandler:(void (^ _Nullable)(NSImage * _Nullable image, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | + (void)loadLeaderboardSetsWithCompletionHandler:(void (^)(NSArray *leaderboardSets, NSError *error))completionHandler |
To | + (void)loadLeaderboardSetsWithCompletionHandler:(void (^ _Nullable)(NSArray<GKLeaderboardSet *> * _Nullable leaderboardSets, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)loadLeaderboardsWithCompletionHandler:(void (^)(NSArray *leaderboards, NSError *error))completionHandler |
To | - (void)loadLeaderboardsWithCompletionHandler:(void (^ _Nullable)(NSArray<GKLeaderboard *> * _Nullable leaderboards, NSError * _Nullable error))completionHandler |
Modified GKLeaderboardSet.title
Declaration | |
---|---|
From | @property(readonly, copy, atomic) NSString *title |
To | @property(readonly, copy, atomic, nonnull) NSString *title |
GKLeaderboardViewController.h
GKLocalPlayer.h
Modified GKLocalPlayer.authenticateHandler
Declaration | |
---|---|
From | @property(atomic, copy) void (^authenticateHandler)(NSViewController *viewController, NSError *error) |
To | @property(atomic, copy, nullable) void (^authenticateHandler)(NSViewController * _Nullable viewController, NSError * _Nullable error) |
Declaration | |
---|---|
From | - (void)authenticateWithCompletionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)authenticateWithCompletionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Modified GKLocalPlayer.friends
Declaration | |
---|---|
From | @property(nonatomic, readonly, retain) NSArray *friends |
To | @property(nonatomic, readonly, retain, nullable) NSArray<NSString *> *friends |
Declaration | |
---|---|
From | - (void)generateIdentityVerificationSignatureWithCompletionHandler:(void (^)(NSURL *publicKeyUrl, NSData *signature, NSData *salt, uint64_t timestamp, NSError *error))completionHandler |
To | - (void)generateIdentityVerificationSignatureWithCompletionHandler:(void (^ _Nullable)(NSURL * _Nullable publicKeyUrl, NSData * _Nullable signature, NSData * _Nullable salt, uint64_t timestamp, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)loadDefaultLeaderboardCategoryIDWithCompletionHandler:(void (^)(NSString *categoryID, NSError *error))completionHandler |
To | - (void)loadDefaultLeaderboardCategoryIDWithCompletionHandler:(void (^ _Nullable)(NSString * _Nullable categoryID, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)loadDefaultLeaderboardIdentifierWithCompletionHandler:(void (^)(NSString *leaderboardIdentifier, NSError *error))completionHandler |
To | - (void)loadDefaultLeaderboardIdentifierWithCompletionHandler:(void (^ _Nullable)(NSString * _Nullable leaderboardIdentifier, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)loadFriendPlayersWithCompletionHandler:(void (^)(NSArray *friendPlayers, NSError *error))completionHandler |
To | - (void)loadFriendPlayersWithCompletionHandler:(void (^ _Nullable)(NSArray<GKPlayer *> * _Nullable friendPlayers, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)loadFriendsWithCompletionHandler:(void (^)(NSArray *friendIDs, NSError *error))completionHandler |
To | - (void)loadFriendsWithCompletionHandler:(void (^ _Nullable)(NSArray<NSString *> * _Nullable friendIDs, NSError * _Nullable error))completionHandler |
Modified +[GKLocalPlayer localPlayer]
Declaration | |
---|---|
From | + (GKLocalPlayer *)localPlayer |
To | + (GKLocalPlayer * _Nonnull)localPlayer |
Modified -[GKLocalPlayer registerListener:]
Declaration | |
---|---|
From | - (void)registerListener:(id<GKLocalPlayerListener>)listener |
To | - (void)registerListener:(id<GKLocalPlayerListener> _Nonnull)listener |
Declaration | |
---|---|
From | - (void)setDefaultLeaderboardCategoryID:(NSString *)categoryID completionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)setDefaultLeaderboardCategoryID:(NSString * _Nullable)categoryID completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)setDefaultLeaderboardIdentifier:(NSString *)leaderboardIdentifier completionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)setDefaultLeaderboardIdentifier:(NSString * _Nonnull)leaderboardIdentifier completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Modified -[GKLocalPlayer unregisterListener:]
Declaration | |
---|---|
From | - (void)unregisterListener:(id<GKLocalPlayerListener>)listener |
To | - (void)unregisterListener:(id<GKLocalPlayerListener> _Nonnull)listener |
GKMatch.h
Declaration | |
---|---|
From | - (void)chooseBestHostingPlayerWithCompletionHandler:(void (^)(GKPlayer *player))completionHandler |
To | - (void)chooseBestHostingPlayerWithCompletionHandler:(void (^ _Nonnull)(GKPlayer * _Nullable player))completionHandler |
Declaration | |
---|---|
From | - (void)chooseBestHostPlayerWithCompletionHandler:(void (^)(NSString *playerID))completionHandler |
To | - (void)chooseBestHostPlayerWithCompletionHandler:(void (^ _Nonnull)(NSString * _Nullable playerID))completionHandler |
Modified GKMatch.delegate
Declaration | |
---|---|
From | @property(nonatomic, assign) id<GKMatchDelegate> delegate |
To | @property(nonatomic, assign, nullable) id<GKMatchDelegate> delegate |
Modified GKMatch.playerIDs
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSArray *playerIDs |
To | @property(nonatomic, readonly, nonnull) NSArray<NSString *> *playerIDs |
Modified GKMatch.players
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSArray *players |
To | @property(nonatomic, readonly, nonnull) NSArray<GKPlayer *> *players |
Declaration | |
---|---|
From | - (void)rematchWithCompletionHandler:(void (^)(GKMatch *match, NSError *error))completionHandler |
To | - (void)rematchWithCompletionHandler:(void (^ _Nullable)(GKMatch * _Nullable match, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (BOOL)sendData:(NSData *)data toPlayers:(NSArray *)players dataMode:(GKMatchSendDataMode)mode error:(NSError **)error |
To | - (BOOL)sendData:(NSData * _Nonnull)data toPlayers:(NSArray<GKPlayer *> * _Nonnull)players dataMode:(GKMatchSendDataMode)mode error:(NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | - (BOOL)sendData:(NSData *)data toPlayers:(NSArray *)playerIDs withDataMode:(GKMatchSendDataMode)mode error:(NSError **)error |
To | - (BOOL)sendData:(NSData * _Nonnull)data toPlayers:(NSArray<NSString *> * _Nonnull)playerIDs withDataMode:(GKMatchSendDataMode)mode error:(NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | - (BOOL)sendDataToAllPlayers:(NSData *)data withDataMode:(GKMatchSendDataMode)mode error:(NSError **)error |
To | - (BOOL)sendDataToAllPlayers:(NSData * _Nonnull)data withDataMode:(GKMatchSendDataMode)mode error:(NSError * _Nullable * _Nullable)error |
Modified -[GKMatch voiceChatWithName:]
Declaration | |
---|---|
From | - (GKVoiceChat *)voiceChatWithName:(NSString *)name |
To | - (GKVoiceChat * _Nullable)voiceChatWithName:(NSString * _Nonnull)name |
Declaration | |
---|---|
From | - (void)match:(GKMatch *)match didFailWithError:(NSError *)error |
To | - (void)match:(GKMatch * _Nonnull)match didFailWithError:(NSError * _Nullable)error |
Declaration | |
---|---|
From | - (void)match:(GKMatch *)match didReceiveData:(NSData *)data fromPlayer:(NSString *)playerID |
To | - (void)match:(GKMatch * _Nonnull)match didReceiveData:(NSData * _Nonnull)data fromPlayer:(NSString * _Nonnull)playerID |
Declaration | |
---|---|
From | - (void)match:(GKMatch *)match didReceiveData:(NSData *)data fromRemotePlayer:(GKPlayer *)player |
To | - (void)match:(GKMatch * _Nonnull)match didReceiveData:(NSData * _Nonnull)data fromRemotePlayer:(GKPlayer * _Nonnull)player |
Declaration | |
---|---|
From | - (void)match:(GKMatch *)match player:(GKPlayer *)player didChangeConnectionState:(GKPlayerConnectionState)state |
To | - (void)match:(GKMatch * _Nonnull)match player:(GKPlayer * _Nonnull)player didChangeConnectionState:(GKPlayerConnectionState)state |
Declaration | |
---|---|
From | - (void)match:(GKMatch *)match player:(NSString *)playerID didChangeState:(GKPlayerConnectionState)state |
To | - (void)match:(GKMatch * _Nonnull)match player:(NSString * _Nonnull)playerID didChangeState:(GKPlayerConnectionState)state |
Declaration | |
---|---|
From | - (BOOL)match:(GKMatch *)match shouldReinviteDisconnectedPlayer:(GKPlayer *)player |
To | - (BOOL)match:(GKMatch * _Nonnull)match shouldReinviteDisconnectedPlayer:(GKPlayer * _Nonnull)player |
Declaration | |
---|---|
From | - (BOOL)match:(GKMatch *)match shouldReinvitePlayer:(NSString *)playerID |
To | - (BOOL)match:(GKMatch * _Nonnull)match shouldReinvitePlayer:(NSString * _Nonnull)playerID |
GKMatchmaker.h
Modified GKInvite.inviter
Declaration | |
---|---|
From | @property(readonly, retain, atomic) NSString *inviter |
To | @property(readonly, retain, atomic, nonnull) NSString *inviter |
Modified GKInvite.sender
Declaration | |
---|---|
From | @property(readonly, retain, atomic) GKPlayer *sender |
To | @property(readonly, retain, atomic, nonnull) GKPlayer *sender |
Declaration | |
---|---|
From | - (void)player:(GKPlayer *)player didAcceptInvite:(GKInvite *)invite |
To | - (void)player:(GKPlayer * _Nonnull)player didAcceptInvite:(GKInvite * _Nonnull)invite |
Declaration | |
---|---|
From | - (void)player:(GKPlayer *)player didRequestMatchWithRecipients:(NSArray *)recipientPlayers |
To | - (void)player:(GKPlayer * _Nonnull)player didRequestMatchWithRecipients:(NSArray<GKPlayer *> * _Nonnull)recipientPlayers |
Declaration | |
---|---|
From | - (void)addPlayersToMatch:(GKMatch *)match matchRequest:(GKMatchRequest *)matchRequest completionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)addPlayersToMatch:(GKMatch * _Nonnull)match matchRequest:(GKMatchRequest * _Nonnull)matchRequest completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)cancelInviteToPlayer:(NSString *)playerID |
To | - (void)cancelInviteToPlayer:(NSString * _Nonnull)playerID |
Declaration | |
---|---|
From | - (void)cancelPendingInviteToPlayer:(GKPlayer *)player |
To | - (void)cancelPendingInviteToPlayer:(GKPlayer * _Nonnull)player |
Declaration | |
---|---|
From | - (void)findMatchForRequest:(GKMatchRequest *)request withCompletionHandler:(void (^)(GKMatch *match, NSError *error))completionHandler |
To | - (void)findMatchForRequest:(GKMatchRequest * _Nonnull)request withCompletionHandler:(void (^ _Nullable)(GKMatch * _Nullable match, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)findPlayersForHostedMatchRequest:(GKMatchRequest *)request withCompletionHandler:(void (^)(NSArray *playerIDs, NSError *error))completionHandler |
To | - (void)findPlayersForHostedMatchRequest:(GKMatchRequest * _Nonnull)request withCompletionHandler:(void (^ _Nullable)(NSArray<NSString *> * _Nullable playerIDs, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)findPlayersForHostedRequest:(GKMatchRequest *)request withCompletionHandler:(void (^)(NSArray *players, NSError *error))completionHandler |
To | - (void)findPlayersForHostedRequest:(GKMatchRequest * _Nonnull)request withCompletionHandler:(void (^ _Nullable)(NSArray<GKPlayer *> * _Nullable players, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)finishMatchmakingForMatch:(GKMatch *)match |
To | - (void)finishMatchmakingForMatch:(GKMatch * _Nonnull)match |
Modified GKMatchmaker.inviteHandler
Declaration | |
---|---|
From | @property(nonatomic, copy) void (^inviteHandler)(GKInvite *acceptedInvite, NSArray *playerIDsToInvite) |
To | @property(nonatomic, copy, nullable) void (^inviteHandler)(GKInvite * _Nonnull acceptedInvite, NSArray * _Nullable playerIDsToInvite) |
Declaration | |
---|---|
From | - (void)matchForInvite:(GKInvite *)invite completionHandler:(void (^)(GKMatch *match, NSError *error))completionHandler |
To | - (void)matchForInvite:(GKInvite * _Nonnull)invite completionHandler:(void (^ _Nullable)(GKMatch * _Nullable match, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)queryActivityWithCompletionHandler:(void (^)(NSInteger activity, NSError *error))completionHandler |
To | - (void)queryActivityWithCompletionHandler:(void (^ _Nullable)(NSInteger activity, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)queryPlayerGroupActivity:(NSUInteger)playerGroup withCompletionHandler:(void (^)(NSInteger activity, NSError *error))completionHandler |
To | - (void)queryPlayerGroupActivity:(NSUInteger)playerGroup withCompletionHandler:(void (^ _Nullable)(NSInteger activity, NSError * _Nullable error))completionHandler |
Modified +[GKMatchmaker sharedMatchmaker]
Declaration | |
---|---|
From | + (GKMatchmaker *)sharedMatchmaker |
To | + (GKMatchmaker * _Nonnull)sharedMatchmaker |
Declaration | |
---|---|
From | - (void)startBrowsingForNearbyPlayersWithHandler:(void (^)(GKPlayer *player, BOOL reachable))reachableHandler |
To | - (void)startBrowsingForNearbyPlayersWithHandler:(void (^ _Nullable)(GKPlayer * _Nonnull player, BOOL reachable))reachableHandler |
Declaration | |
---|---|
From | - (void)startBrowsingForNearbyPlayersWithReachableHandler:(void (^)(NSString *playerID, BOOL reachable))reachableHandler |
To | - (void)startBrowsingForNearbyPlayersWithReachableHandler:(void (^ _Nullable)(NSString * _Nonnull playerID, BOOL reachable))reachableHandler |
Declaration | |
---|---|
From | @property(copy) void (^inviteeResponseHandler)(NSString *playerID, GKInviteeResponse response) |
To | @property(copy, nullable) void (^inviteeResponseHandler)(NSString * _Nonnull playerID, GKInviteeResponse response) |
Modified GKMatchRequest.inviteMessage
Declaration | |
---|---|
From | @property(copy) NSString *inviteMessage |
To | @property(copy, nullable) NSString *inviteMessage |
Modified GKMatchRequest.playersToInvite
Declaration | |
---|---|
From | @property(retain) NSArray *playersToInvite |
To | @property(retain, nullable) NSArray<NSString *> *playersToInvite |
Declaration | |
---|---|
From | @property(copy) void (^recipientResponseHandler)(GKPlayer *player, GKInviteRecipientResponse response) |
To | @property(copy, nullable) void (^recipientResponseHandler)(GKPlayer * _Nonnull player, GKInviteRecipientResponse response) |
Modified GKMatchRequest.recipients
Declaration | |
---|---|
From | @property(retain) NSArray *recipients |
To | @property(retain, nullable) NSArray<GKPlayer *> *recipients |
GKMatchmakerViewController.h
Declaration | |
---|---|
From | - (void)addPlayersToMatch:(GKMatch *)match |
To | - (void)addPlayersToMatch:(GKMatch * _Nonnull)match |
Declaration | |
---|---|
From | @property(nonatomic, copy) NSString *defaultInvitationMessage |
To | @property(nonatomic, copy, nullable) NSString *defaultInvitationMessage |
Declaration | |
---|---|
From | - (id)initWithInvite:(GKInvite *)invite |
To | - (id _Nullable)initWithInvite:(GKInvite * _Nonnull)invite |
Declaration | |
---|---|
From | - (id)initWithMatchRequest:(GKMatchRequest *)request |
To | - (id _Nullable)initWithMatchRequest:(GKMatchRequest * _Nonnull)request |
Declaration | |
---|---|
From | @property(nonatomic, assign) id<GKMatchmakerViewControllerDelegate> matchmakerDelegate |
To | @property(nonatomic, assign, nullable) id<GKMatchmakerViewControllerDelegate> matchmakerDelegate |
Declaration | |
---|---|
From | @property(nonatomic, readonly, retain) GKMatchRequest *matchRequest |
To | @property(nonatomic, readonly, retain, nonnull) GKMatchRequest *matchRequest |
Declaration | |
---|---|
From | - (void)setHostedPlayer:(NSString *)playerID connected:(BOOL)connected |
To | - (void)setHostedPlayer:(NSString * _Nonnull)playerID connected:(BOOL)connected |
Declaration | |
---|---|
From | - (void)setHostedPlayer:(GKPlayer *)player didConnect:(BOOL)connected |
To | - (void)setHostedPlayer:(GKPlayer * _Nonnull)player didConnect:(BOOL)connected |
Declaration | |
---|---|
From | - (void)matchmakerViewController:(GKMatchmakerViewController *)viewController didFailWithError:(NSError *)error |
To | - (void)matchmakerViewController:(GKMatchmakerViewController * _Nonnull)viewController didFailWithError:(NSError * _Nonnull)error |
Declaration | |
---|---|
From | - (void)matchmakerViewController:(GKMatchmakerViewController *)viewController didFindHostedPlayers:(NSArray *)players |
To | - (void)matchmakerViewController:(GKMatchmakerViewController * _Nonnull)viewController didFindHostedPlayers:(NSArray<GKPlayer *> * _Nonnull)players |
Declaration | |
---|---|
From | - (void)matchmakerViewController:(GKMatchmakerViewController *)viewController didFindMatch:(GKMatch *)match |
To | - (void)matchmakerViewController:(GKMatchmakerViewController * _Nonnull)viewController didFindMatch:(GKMatch * _Nonnull)match |
Declaration | |
---|---|
From | - (void)matchmakerViewController:(GKMatchmakerViewController *)viewController didFindPlayers:(NSArray *)playerIDs |
To | - (void)matchmakerViewController:(GKMatchmakerViewController * _Nonnull)viewController didFindPlayers:(NSArray<NSString *> * _Nonnull)playerIDs |
Modified -[GKMatchmakerViewControllerDelegate matchmakerViewController:didReceiveAcceptFromHostedPlayer:]
Declaration | |
---|---|
From | - (void)matchmakerViewController:(GKMatchmakerViewController *)viewController didReceiveAcceptFromHostedPlayer:(NSString *)playerID |
To | - (void)matchmakerViewController:(GKMatchmakerViewController * _Nonnull)viewController didReceiveAcceptFromHostedPlayer:(NSString * _Nonnull)playerID |
Declaration | |
---|---|
From | - (void)matchmakerViewController:(GKMatchmakerViewController *)viewController hostedPlayerDidAccept:(GKPlayer *)player |
To | - (void)matchmakerViewController:(GKMatchmakerViewController * _Nonnull)viewController hostedPlayerDidAccept:(GKPlayer * _Nonnull)player |
Declaration | |
---|---|
From | - (void)matchmakerViewControllerWasCancelled:(GKMatchmakerViewController *)viewController |
To | - (void)matchmakerViewControllerWasCancelled:(GKMatchmakerViewController * _Nonnull)viewController |
GKNotificationBanner.h
Declaration | |
---|---|
From | + (void)showBannerWithTitle:(NSString *)title message:(NSString *)message completionHandler:(void (^)(void))completionHandler |
To | + (void)showBannerWithTitle:(NSString * _Nullable)title message:(NSString * _Nullable)message completionHandler:(void (^ _Nullable)(void))completionHandler |
Declaration | |
---|---|
From | + (void)showBannerWithTitle:(NSString *)title message:(NSString *)message duration:(NSTimeInterval)duration completionHandler:(void (^)(void))completionHandler |
To | + (void)showBannerWithTitle:(NSString * _Nullable)title message:(NSString * _Nullable)message duration:(NSTimeInterval)duration completionHandler:(void (^ _Nullable)(void))completionHandler |
GKPlayer.h
Modified GKPlayer.alias
Declaration | |
---|---|
From | @property(readonly, copy, atomic) NSString *alias |
To | @property(readonly, copy, atomic, nullable) NSString *alias |
Modified GKPlayer.displayName
Declaration | |
---|---|
From | @property(readonly, atomic) NSString *displayName |
To | @property(readonly, atomic, nullable) NSString *displayName |
Declaration | |
---|---|
From | - (void)loadPhotoForSize:(GKPhotoSize)size withCompletionHandler:(void (^)(NSImage *photo, NSError *error))completionHandler |
To | - (void)loadPhotoForSize:(GKPhotoSize)size withCompletionHandler:(void (^ _Nullable)(NSImage * _Nullable photo, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | + (void)loadPlayersForIdentifiers:(NSArray *)identifiers withCompletionHandler:(void (^)(NSArray *players, NSError *error))completionHandler |
To | + (void)loadPlayersForIdentifiers:(NSArray<NSString *> * _Nonnull)identifiers withCompletionHandler:(void (^ _Nullable)(NSArray<GKPlayer *> * _Nullable players, NSError * _Nullable error))completionHandler |
Modified GKPlayer.playerID
Declaration | |
---|---|
From | @property(readonly, retain, atomic) NSString *playerID |
To | @property(readonly, retain, atomic, nullable) NSString *playerID |
GKPublicConstants.h
Removed GKVoiceChatServiceInternalError
Added GKVoiceChatServiceError
Modified GKPeerConnectionState
Introduction | Deprecation | |
---|---|---|
From | OS X 10.8 | OS X 10.10 |
To | OS X 10.10 | -- |
Modified GKPeerStateAvailable
Introduction | Deprecation | |
---|---|---|
From | OS X 10.10 | -- |
To | OS X 10.8 | OS X 10.10 |
Modified GKPeerStateConnected
Introduction | Deprecation | |
---|---|---|
From | OS X 10.10 | -- |
To | OS X 10.8 | OS X 10.10 |
Modified GKPeerStateConnecting
Introduction | Deprecation | |
---|---|---|
From | OS X 10.10 | -- |
To | OS X 10.8 | OS X 10.10 |
Modified GKPeerStateDisconnected
Introduction | Deprecation | |
---|---|---|
From | OS X 10.10 | -- |
To | OS X 10.8 | OS X 10.10 |
Modified GKPeerStateUnavailable
Introduction | Deprecation | |
---|---|---|
From | OS X 10.10 | -- |
To | OS X 10.8 | OS X 10.10 |
Modified GKSendDataMode
Introduction | Deprecation | |
---|---|---|
From | OS X 10.8 | OS X 10.10 |
To | OS X 10.10 | -- |
Modified GKSendDataReliable
Introduction | Deprecation | |
---|---|---|
From | OS X 10.10 | -- |
To | OS X 10.8 | OS X 10.10 |
Modified GKSendDataUnreliable
Introduction | Deprecation | |
---|---|---|
From | OS X 10.10 | -- |
To | OS X 10.8 | OS X 10.10 |
Modified GKSessionMode
Introduction | Deprecation | |
---|---|---|
From | OS X 10.8 | OS X 10.10 |
To | OS X 10.10 | -- |
Modified GKSessionModeClient
Introduction | Deprecation | |
---|---|---|
From | OS X 10.10 | -- |
To | OS X 10.8 | OS X 10.10 |
Modified GKSessionModePeer
Introduction | Deprecation | |
---|---|---|
From | OS X 10.10 | -- |
To | OS X 10.8 | OS X 10.10 |
Modified GKSessionModeServer
Introduction | Deprecation | |
---|---|---|
From | OS X 10.10 | -- |
To | OS X 10.8 | OS X 10.10 |
GKPublicProtocols.h
Declaration | |
---|---|
From | - (void)session:(GKSession *)session connectionWithPeerFailed:(NSString *)peerID withError:(NSError *)error |
To | - (void)session:(GKSession * _Nonnull)session connectionWithPeerFailed:(NSString * _Nonnull)peerID withError:(NSError * _Nonnull)error |
Declaration | |
---|---|
From | - (void)session:(GKSession *)session didFailWithError:(NSError *)error |
To | - (void)session:(GKSession * _Nonnull)session didFailWithError:(NSError * _Nonnull)error |
Declaration | |
---|---|
From | - (void)session:(GKSession *)session didReceiveConnectionRequestFromPeer:(NSString *)peerID |
To | - (void)session:(GKSession * _Nonnull)session didReceiveConnectionRequestFromPeer:(NSString * _Nonnull)peerID |
Declaration | |
---|---|
From | - (void)session:(GKSession *)session peer:(NSString *)peerID didChangeState:(GKPeerConnectionState)state |
To | - (void)session:(GKSession * _Nonnull)session peer:(NSString * _Nonnull)peerID didChangeState:(GKPeerConnectionState)state |
Modified -[GKVoiceChatClient participantID]
Declaration | |
---|---|
From | - (NSString *)participantID |
To | - (NSString * _Nonnull)participantID |
Declaration | |
---|---|
From | - (void)voiceChatService:(GKVoiceChatService *)voiceChatService didNotStartWithParticipantID:(NSString *)participantID error:(NSError *)error |
To | - (void)voiceChatService:(GKVoiceChatService * _Nonnull)voiceChatService didNotStartWithParticipantID:(NSString * _Nonnull)participantID error:(NSError * _Nullable)error |
Declaration | |
---|---|
From | - (void)voiceChatService:(GKVoiceChatService *)voiceChatService didReceiveInvitationFromParticipantID:(NSString *)participantID callID:(NSInteger)callID |
To | - (void)voiceChatService:(GKVoiceChatService * _Nonnull)voiceChatService didReceiveInvitationFromParticipantID:(NSString * _Nonnull)participantID callID:(NSInteger)callID |
Declaration | |
---|---|
From | - (void)voiceChatService:(GKVoiceChatService *)voiceChatService didStartWithParticipantID:(NSString *)participantID |
To | - (void)voiceChatService:(GKVoiceChatService * _Nonnull)voiceChatService didStartWithParticipantID:(NSString * _Nonnull)participantID |
Declaration | |
---|---|
From | - (void)voiceChatService:(GKVoiceChatService *)voiceChatService didStopWithParticipantID:(NSString *)participantID error:(NSError *)error |
To | - (void)voiceChatService:(GKVoiceChatService * _Nonnull)voiceChatService didStopWithParticipantID:(NSString * _Nonnull)participantID error:(NSError * _Nullable)error |
Declaration | |
---|---|
From | - (void)voiceChatService:(GKVoiceChatService *)voiceChatService sendData:(NSData *)data toParticipantID:(NSString *)participantID |
To | - (void)voiceChatService:(GKVoiceChatService * _Nonnull)voiceChatService sendData:(NSData * _Nonnull)data toParticipantID:(NSString * _Nonnull)participantID |
Declaration | |
---|---|
From | - (void)voiceChatService:(GKVoiceChatService *)voiceChatService sendRealTimeData:(NSData *)data toParticipantID:(NSString *)participantID |
To | - (void)voiceChatService:(GKVoiceChatService * _Nonnull)voiceChatService sendRealTimeData:(NSData * _Nonnull)data toParticipantID:(NSString * _Nonnull)participantID |
GKSavedGame.h
Declaration | |
---|---|
From | - (void)deleteSavedGamesWithName:(NSString *)name completionHandler:(void (^)(NSError *error))handler |
To | - (void)deleteSavedGamesWithName:(NSString * _Nonnull)name completionHandler:(void (^ _Nullable)(NSError * _Nullable error))handler |
Declaration | |
---|---|
From | - (void)fetchSavedGamesWithCompletionHandler:(void (^)(NSArray *savedGames, NSError *error))handler |
To | - (void)fetchSavedGamesWithCompletionHandler:(void (^ _Nullable)(NSArray<GKSavedGame *> * _Nullable savedGames, NSError * _Nullable error))handler |
Declaration | |
---|---|
From | - (void)resolveConflictingSavedGames:(NSArray *)conflictingSavedGames withData:(NSData *)data completionHandler:(void (^)(NSArray *savedGames, NSError *error))handler |
To | - (void)resolveConflictingSavedGames:(NSArray<GKSavedGame *> * _Nonnull)conflictingSavedGames withData:(NSData * _Nonnull)data completionHandler:(void (^ _Nullable)(NSArray<GKSavedGame *> * _Nullable savedGames, NSError * _Nullable error))handler |
Declaration | |
---|---|
From | - (void)saveGameData:(NSData *)data withName:(NSString *)name completionHandler:(void (^)(GKSavedGame *savedGame, NSError *error))handler |
To | - (void)saveGameData:(NSData * _Nonnull)data withName:(NSString * _Nonnull)name completionHandler:(void (^ _Nullable)(GKSavedGame * _Nullable savedGame, NSError * _Nullable error))handler |
Modified GKSavedGame.deviceName
Declaration | |
---|---|
From | @property(atomic, readonly) NSString *deviceName |
To | @property(atomic, readonly, nullable) NSString *deviceName |
Declaration | |
---|---|
From | - (void)loadDataWithCompletionHandler:(void (^)(NSData *data, NSError *error))handler |
To | - (void)loadDataWithCompletionHandler:(void (^ _Nullable)(NSData * _Nullable data, NSError * _Nullable error))handler |
Modified GKSavedGame.modificationDate
Declaration | |
---|---|
From | @property(atomic, readonly) NSDate *modificationDate |
To | @property(atomic, readonly, nullable) NSDate *modificationDate |
Modified GKSavedGame.name
Declaration | |
---|---|
From | @property(atomic, readonly) NSString *name |
To | @property(atomic, readonly, nullable) NSString *name |
GKSavedGameListener.h
Declaration | |
---|---|
From | - (void)player:(GKPlayer *)player didModifySavedGame:(GKSavedGame *)savedGame |
To | - (void)player:(GKPlayer * _Nonnull)player didModifySavedGame:(GKSavedGame * _Nonnull)savedGame |
Declaration | |
---|---|
From | - (void)player:(GKPlayer *)player hasConflictingSavedGames:(NSArray *)savedGames |
To | - (void)player:(GKPlayer * _Nonnull)player hasConflictingSavedGames:(NSArray<GKSavedGame *> * _Nonnull)savedGames |
GKScore.h
Modified GKScore.category
Declaration | |
---|---|
From | @property(copy, atomic) NSString *category |
To | @property(copy, atomic, nullable) NSString *category |
Modified GKScore.date
Declaration | |
---|---|
From | @property(readonly, retain, atomic) NSDate *date |
To | @property(readonly, retain, atomic, nonnull) NSDate *date |
Modified GKScore.formattedValue
Declaration | |
---|---|
From | @property(readonly, copy, atomic) NSString *formattedValue |
To | @property(readonly, copy, atomic, nullable) NSString *formattedValue |
Modified -[GKScore initWithCategory:]
Declaration | |
---|---|
From | - (instancetype)initWithCategory:(NSString *)category |
To | - (instancetype _Nonnull)initWithCategory:(NSString * _Nullable)category |
Declaration | |
---|---|
From | - (instancetype)initWithLeaderboardIdentifier:(NSString *)identifier |
To | - (instancetype _Nonnull)initWithLeaderboardIdentifier:(NSString * _Nonnull)identifier |
Declaration | |
---|---|
From | - (instancetype)initWithLeaderboardIdentifier:(NSString *)identifier player:(GKPlayer *)player |
To | - (instancetype _Nonnull)initWithLeaderboardIdentifier:(NSString * _Nonnull)identifier player:(GKPlayer * _Nonnull)player |
Modified GKScore.leaderboardIdentifier
Declaration | |
---|---|
From | @property(copy, atomic) NSString *leaderboardIdentifier |
To | @property(copy, atomic, nonnull) NSString *leaderboardIdentifier |
Modified GKScore.player
Declaration | |
---|---|
From | @property(readonly, retain, atomic) GKPlayer *player |
To | @property(readonly, retain, atomic, nonnull) GKPlayer *player |
Modified GKScore.playerID
Declaration | |
---|---|
From | @property(readonly, retain, atomic) NSString *playerID |
To | @property(readonly, retain, atomic, nonnull) NSString *playerID |
Declaration | |
---|---|
From | + (void)reportScores:(NSArray *)scores withCompletionHandler:(void (^)(NSError *error))completionHandler |
To | + (void)reportScores:(NSArray<GKScore *> * _Nonnull)scores withCompletionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)reportScoreWithCompletionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)reportScoreWithCompletionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
GKSessionError.h
Removed GKSessionCancelledError
Removed GKSessionCannotEnableError
Removed GKSessionConnectionClosedError
Removed GKSessionConnectionFailedError
Removed GKSessionConnectivityError
Removed GKSessionDataTooBigError
Removed GKSessionDeclinedError
Removed GKSessionInProgressError
Removed GKSessionInternalError
Removed GKSessionInvalidParameterError
Removed GKSessionNotConnectedError
Removed GKSessionPeerNotFoundError
Removed GKSessionSystemError
Removed GKSessionTimedOutError
Removed GKSessionTransportError
Removed GKSessionUnknownError
Added GKSessionError
GKTurnBasedMatch.h
Modified GKTurnBasedEventHandler.delegate
Declaration | |
---|---|
From | @property(assign, atomic) NSObject<GKTurnBasedEventHandlerDelegate> *delegate |
To | @property(assign, atomic, nonnull) NSObject<GKTurnBasedEventHandlerDelegate> *delegate |
Declaration | |
---|---|
From | + (GKTurnBasedEventHandler *)sharedTurnBasedEventHandler |
To | + (GKTurnBasedEventHandler * _Nonnull)sharedTurnBasedEventHandler |
Declaration | |
---|---|
From | - (void)handleInviteFromGameCenter:(NSArray *)playersToInvite |
To | - (void)handleInviteFromGameCenter:(NSArray<GKPlayer *> * _Nonnull)playersToInvite |
Declaration | |
---|---|
From | - (void)handleMatchEnded:(GKTurnBasedMatch *)match |
To | - (void)handleMatchEnded:(GKTurnBasedMatch * _Nonnull)match |
Declaration | |
---|---|
From | - (void)handleTurnEventForMatch:(GKTurnBasedMatch *)match |
To | - (void)handleTurnEventForMatch:(GKTurnBasedMatch * _Nonnull)match |
Declaration | |
---|---|
From | - (void)handleTurnEventForMatch:(GKTurnBasedMatch *)match didBecomeActive:(BOOL)didBecomeActive |
To | - (void)handleTurnEventForMatch:(GKTurnBasedMatch * _Nonnull)match didBecomeActive:(BOOL)didBecomeActive |
Declaration | |
---|---|
From | - (void)player:(GKPlayer *)player didRequestMatchWithOtherPlayers:(NSArray *)playersToInvite |
To | - (void)player:(GKPlayer * _Nonnull)player didRequestMatchWithOtherPlayers:(NSArray<GKPlayer *> * _Nonnull)playersToInvite |
Declaration | |
---|---|
From | - (void)player:(GKPlayer *)player matchEnded:(GKTurnBasedMatch *)match |
To | - (void)player:(GKPlayer * _Nonnull)player matchEnded:(GKTurnBasedMatch * _Nonnull)match |
Declaration | |
---|---|
From | - (void)player:(GKPlayer *)player receivedExchangeCancellation:(GKTurnBasedExchange *)exchange forMatch:(GKTurnBasedMatch *)match |
To | - (void)player:(GKPlayer * _Nonnull)player receivedExchangeCancellation:(GKTurnBasedExchange * _Nonnull)exchange forMatch:(GKTurnBasedMatch * _Nonnull)match |
Declaration | |
---|---|
From | - (void)player:(GKPlayer *)player receivedExchangeReplies:(NSArray *)replies forCompletedExchange:(GKTurnBasedExchange *)exchange forMatch:(GKTurnBasedMatch *)match |
To | - (void)player:(GKPlayer * _Nonnull)player receivedExchangeReplies:(NSArray<GKTurnBasedExchangeReply *> * _Nonnull)replies forCompletedExchange:(GKTurnBasedExchange * _Nonnull)exchange forMatch:(GKTurnBasedMatch * _Nonnull)match |
Declaration | |
---|---|
From | - (void)player:(GKPlayer *)player receivedExchangeRequest:(GKTurnBasedExchange *)exchange forMatch:(GKTurnBasedMatch *)match |
To | - (void)player:(GKPlayer * _Nonnull)player receivedExchangeRequest:(GKTurnBasedExchange * _Nonnull)exchange forMatch:(GKTurnBasedMatch * _Nonnull)match |
Declaration | |
---|---|
From | - (void)player:(GKPlayer *)player receivedTurnEventForMatch:(GKTurnBasedMatch *)match didBecomeActive:(BOOL)didBecomeActive |
To | - (void)player:(GKPlayer * _Nonnull)player receivedTurnEventForMatch:(GKTurnBasedMatch * _Nonnull)match didBecomeActive:(BOOL)didBecomeActive |
Declaration | |
---|---|
From | - (void)cancelWithLocalizableMessageKey:(NSString *)key arguments:(NSArray *)arguments completionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)cancelWithLocalizableMessageKey:(NSString * _Nonnull)key arguments:(NSArray<NSString *> * _Nonnull)arguments completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Modified GKTurnBasedExchange.completionDate
Declaration | |
---|---|
From | @property(readonly, atomic) NSDate *completionDate |
To | @property(readonly, atomic, nullable) NSDate *completionDate |
Modified GKTurnBasedExchange.data
Declaration | |
---|---|
From | @property(readonly, atomic) NSData *data |
To | @property(readonly, atomic, nullable) NSData *data |
Modified GKTurnBasedExchange.exchangeID
Declaration | |
---|---|
From | @property(readonly, atomic) NSString *exchangeID |
To | @property(readonly, atomic, nullable) NSString *exchangeID |
Modified GKTurnBasedExchange.message
Declaration | |
---|---|
From | @property(readonly, atomic) NSString *message |
To | @property(readonly, atomic, nullable) NSString *message |
Modified GKTurnBasedExchange.recipients
Declaration | |
---|---|
From | @property(readonly, atomic) NSArray *recipients |
To | @property(readonly, atomic, nullable) NSArray<GKTurnBasedParticipant *> *recipients |
Modified GKTurnBasedExchange.replies
Declaration | |
---|---|
From | @property(readonly, atomic) NSArray *replies |
To | @property(readonly, atomic, nullable) NSArray<GKTurnBasedExchangeReply *> *replies |
Declaration | |
---|---|
From | - (void)replyWithLocalizableMessageKey:(NSString *)key arguments:(NSArray *)arguments data:(NSData *)data completionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)replyWithLocalizableMessageKey:(NSString * _Nonnull)key arguments:(NSArray<NSString *> * _Nonnull)arguments data:(NSData * _Nonnull)data completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Modified GKTurnBasedExchange.sendDate
Declaration | |
---|---|
From | @property(readonly, atomic) NSDate *sendDate |
To | @property(readonly, atomic, nullable) NSDate *sendDate |
Modified GKTurnBasedExchange.sender
Declaration | |
---|---|
From | @property(readonly, atomic) GKTurnBasedParticipant *sender |
To | @property(readonly, atomic, nullable) GKTurnBasedParticipant *sender |
Modified GKTurnBasedExchange.timeoutDate
Declaration | |
---|---|
From | @property(readonly, atomic) NSDate *timeoutDate |
To | @property(readonly, atomic, nullable) NSDate *timeoutDate |
Modified GKTurnBasedExchangeReply.data
Declaration | |
---|---|
From | @property(readonly, atomic) NSData *data |
To | @property(readonly, atomic, nullable) NSData *data |
Modified GKTurnBasedExchangeReply.message
Declaration | |
---|---|
From | @property(readonly, atomic) NSString *message |
To | @property(readonly, atomic, nullable) NSString *message |
Modified GKTurnBasedExchangeReply.recipient
Declaration | |
---|---|
From | @property(readonly, atomic) GKTurnBasedParticipant *recipient |
To | @property(readonly, atomic, nullable) GKTurnBasedParticipant *recipient |
Modified GKTurnBasedExchangeReply.replyDate
Declaration | |
---|---|
From | @property(readonly, atomic) NSDate *replyDate |
To | @property(readonly, atomic, nullable) NSDate *replyDate |
Declaration | |
---|---|
From | - (void)acceptInviteWithCompletionHandler:(void (^)(GKTurnBasedMatch *match, NSError *error))completionHandler |
To | - (void)acceptInviteWithCompletionHandler:(void (^ _Nullable)(GKTurnBasedMatch * _Nullable match, NSError * _Nullable error))completionHandler |
Modified GKTurnBasedMatch.activeExchanges
Declaration | |
---|---|
From | @property(readonly, retain, atomic) NSArray *activeExchanges |
To | @property(readonly, retain, atomic, nullable) NSArray<GKTurnBasedExchange *> *activeExchanges |
Modified GKTurnBasedMatch.completedExchanges
Declaration | |
---|---|
From | @property(readonly, retain, atomic) NSArray *completedExchanges |
To | @property(readonly, retain, atomic, nullable) NSArray<GKTurnBasedExchange *> *completedExchanges |
Modified GKTurnBasedMatch.creationDate
Declaration | |
---|---|
From | @property(readonly, retain, atomic) NSDate *creationDate |
To | @property(readonly, retain, atomic, nullable) NSDate *creationDate |
Modified GKTurnBasedMatch.currentParticipant
Declaration | |
---|---|
From | @property(readonly, retain, atomic) GKTurnBasedParticipant *currentParticipant |
To | @property(readonly, retain, atomic, nullable) GKTurnBasedParticipant *currentParticipant |
Declaration | |
---|---|
From | - (void)declineInviteWithCompletionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)declineInviteWithCompletionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)endMatchInTurnWithMatchData:(NSData *)matchData completionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)endMatchInTurnWithMatchData:(NSData * _Nonnull)matchData completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)endMatchInTurnWithMatchData:(NSData *)matchData scores:(NSArray *)scores achievements:(NSArray *)achievements completionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)endMatchInTurnWithMatchData:(NSData * _Nonnull)matchData scores:(NSArray<GKScore *> * _Nullable)scores achievements:(NSArray<GKAchievement *> * _Nullable)achievements completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)endTurnWithNextParticipant:(GKTurnBasedParticipant *)nextParticipant matchData:(NSData *)matchData completionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)endTurnWithNextParticipant:(GKTurnBasedParticipant * _Nonnull)nextParticipant matchData:(NSData * _Nonnull)matchData completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)endTurnWithNextParticipants:(NSArray *)nextParticipants turnTimeout:(NSTimeInterval)timeout matchData:(NSData *)matchData completionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)endTurnWithNextParticipants:(NSArray<GKTurnBasedParticipant *> * _Nonnull)nextParticipants turnTimeout:(NSTimeInterval)timeout matchData:(NSData * _Nonnull)matchData completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Modified GKTurnBasedMatch.exchanges
Declaration | |
---|---|
From | @property(readonly, retain, atomic) NSArray *exchanges |
To | @property(readonly, retain, atomic, nullable) NSArray<GKTurnBasedExchange *> *exchanges |
Declaration | |
---|---|
From | + (void)findMatchForRequest:(GKMatchRequest *)request withCompletionHandler:(void (^)(GKTurnBasedMatch *match, NSError *error))completionHandler |
To | + (void)findMatchForRequest:(GKMatchRequest * _Nonnull)request withCompletionHandler:(void (^ _Nonnull)(GKTurnBasedMatch * _Nullable match, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)loadMatchDataWithCompletionHandler:(void (^)(NSData *matchData, NSError *error))completionHandler |
To | - (void)loadMatchDataWithCompletionHandler:(void (^ _Nullable)(NSData * _Nullable matchData, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | + (void)loadMatchesWithCompletionHandler:(void (^)(NSArray *matches, NSError *error))completionHandler |
To | + (void)loadMatchesWithCompletionHandler:(void (^ _Nullable)(NSArray<GKTurnBasedMatch *> * _Nullable matches, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | + (void)loadMatchWithID:(NSString *)matchID withCompletionHandler:(void (^)(GKTurnBasedMatch *match, NSError *error))completionHandler |
To | + (void)loadMatchWithID:(NSString * _Nonnull)matchID withCompletionHandler:(void (^ _Nullable)(GKTurnBasedMatch * _Nullable match, NSError * _Nullable error))completionHandler |
Modified GKTurnBasedMatch.matchData
Declaration | |
---|---|
From | @property(readonly, retain, atomic) NSData *matchData |
To | @property(readonly, retain, atomic, nullable) NSData *matchData |
Modified GKTurnBasedMatch.matchID
Declaration | |
---|---|
From | @property(readonly, retain, atomic) NSString *matchID |
To | @property(readonly, retain, atomic, nullable) NSString *matchID |
Modified GKTurnBasedMatch.message
Declaration | |
---|---|
From | @property(readwrite, copy, atomic) NSString *message |
To | @property(readwrite, copy, atomic, nullable) NSString *message |
Modified -[GKTurnBasedMatch participantQuitInTurnWithOutcome:nextParticipant:matchData:completionHandler:]
Declaration | |
---|---|
From | - (void)participantQuitInTurnWithOutcome:(GKTurnBasedMatchOutcome)matchOutcome nextParticipant:(GKTurnBasedParticipant *)nextParticipant matchData:(NSData *)matchData completionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)participantQuitInTurnWithOutcome:(GKTurnBasedMatchOutcome)matchOutcome nextParticipant:(GKTurnBasedParticipant * _Nonnull)nextParticipant matchData:(NSData * _Nonnull)matchData completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)participantQuitInTurnWithOutcome:(GKTurnBasedMatchOutcome)matchOutcome nextParticipants:(NSArray *)nextParticipants turnTimeout:(NSTimeInterval)timeout matchData:(NSData *)matchData completionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)participantQuitInTurnWithOutcome:(GKTurnBasedMatchOutcome)matchOutcome nextParticipants:(NSArray<GKTurnBasedParticipant *> * _Nonnull)nextParticipants turnTimeout:(NSTimeInterval)timeout matchData:(NSData * _Nonnull)matchData completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)participantQuitOutOfTurnWithOutcome:(GKTurnBasedMatchOutcome)matchOutcome withCompletionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)participantQuitOutOfTurnWithOutcome:(GKTurnBasedMatchOutcome)matchOutcome withCompletionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Modified GKTurnBasedMatch.participants
Declaration | |
---|---|
From | @property(readonly, retain, atomic) NSArray *participants |
To | @property(readonly, retain, atomic, nullable) NSArray<GKTurnBasedParticipant *> *participants |
Declaration | |
---|---|
From | - (void)rematchWithCompletionHandler:(void (^)(GKTurnBasedMatch *match, NSError *error))completionHandler |
To | - (void)rematchWithCompletionHandler:(void (^ _Nullable)(GKTurnBasedMatch * _Nullable match, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)removeWithCompletionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)removeWithCompletionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)saveCurrentTurnWithMatchData:(NSData *)matchData completionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)saveCurrentTurnWithMatchData:(NSData * _Nonnull)matchData completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)saveMergedMatchData:(NSData *)matchData withResolvedExchanges:(NSArray *)exchanges completionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)saveMergedMatchData:(NSData * _Nonnull)matchData withResolvedExchanges:(NSArray<GKTurnBasedExchange *> * _Nonnull)exchanges completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)sendExchangeToParticipants:(NSArray *)participants data:(NSData *)data localizableMessageKey:(NSString *)key arguments:(NSArray *)arguments timeout:(NSTimeInterval)timeout completionHandler:(void (^)(GKTurnBasedExchange *exchange, NSError *error))completionHandler |
To | - (void)sendExchangeToParticipants:(NSArray<GKTurnBasedParticipant *> * _Nonnull)participants data:(NSData * _Nonnull)data localizableMessageKey:(NSString * _Nonnull)key arguments:(NSArray<NSString *> * _Nonnull)arguments timeout:(NSTimeInterval)timeout completionHandler:(void (^ _Nullable)(GKTurnBasedExchange * _Nonnull exchange, NSError * _Nonnull error))completionHandler |
Modified -[GKTurnBasedMatch sendReminderToParticipants:localizableMessageKey:arguments:completionHandler:]
Declaration | |
---|---|
From | - (void)sendReminderToParticipants:(NSArray *)participants localizableMessageKey:(NSString *)key arguments:(NSArray *)arguments completionHandler:(void (^)(NSError *error))completionHandler |
To | - (void)sendReminderToParticipants:(NSArray<GKTurnBasedParticipant *> * _Nonnull)participants localizableMessageKey:(NSString * _Nonnull)key arguments:(NSArray<NSString *> * _Nonnull)arguments completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | - (void)setLocalizableMessageWithKey:(NSString *)key arguments:(NSArray *)arguments |
To | - (void)setLocalizableMessageWithKey:(NSString * _Nonnull)key arguments:(NSArray<NSString *> * _Nullable)arguments |
Modified GKTurnBasedParticipant.lastTurnDate
Declaration | |
---|---|
From | @property(readonly, copy, atomic) NSDate *lastTurnDate |
To | @property(readonly, copy, atomic, nullable) NSDate *lastTurnDate |
Modified GKTurnBasedParticipant.player
Declaration | |
---|---|
From | @property(readonly, retain, atomic) GKPlayer *player |
To | @property(readonly, retain, atomic, nullable) GKPlayer *player |
Modified GKTurnBasedParticipant.playerID
Declaration | |
---|---|
From | @property(readonly, copy, atomic) NSString *playerID |
To | @property(readonly, copy, atomic, nullable) NSString *playerID |
Modified GKTurnBasedParticipant.timeoutDate
Declaration | |
---|---|
From | @property(readonly, copy, atomic) NSDate *timeoutDate |
To | @property(readonly, copy, atomic, nullable) NSDate *timeoutDate |
GKTurnBasedMatchmakerViewController.h
Declaration | |
---|---|
From | - (id)initWithMatchRequest:(GKMatchRequest *)request |
To | - (id _Nonnull)initWithMatchRequest:(GKMatchRequest * _Nonnull)request |
Declaration | |
---|---|
From | @property(nonatomic, readwrite, assign) id<GKTurnBasedMatchmakerViewControllerDelegate> turnBasedMatchmakerDelegate |
To | @property(nonatomic, readwrite, assign, nullable) id<GKTurnBasedMatchmakerViewControllerDelegate> turnBasedMatchmakerDelegate |
Modified -[GKTurnBasedMatchmakerViewControllerDelegate turnBasedMatchmakerViewController:didFailWithError:]
Declaration | |
---|---|
From | - (void)turnBasedMatchmakerViewController:(GKTurnBasedMatchmakerViewController *)viewController didFailWithError:(NSError *)error |
To | - (void)turnBasedMatchmakerViewController:(GKTurnBasedMatchmakerViewController * _Nonnull)viewController didFailWithError:(NSError * _Nonnull)error |
Modified -[GKTurnBasedMatchmakerViewControllerDelegate turnBasedMatchmakerViewController:didFindMatch:]
Declaration | Deprecation | Optional | |
---|---|---|---|
From | - (void)turnBasedMatchmakerViewController:(GKTurnBasedMatchmakerViewController *)viewController didFindMatch:(GKTurnBasedMatch *)match | -- | -- |
To | - (void)turnBasedMatchmakerViewController:(GKTurnBasedMatchmakerViewController * _Nonnull)viewController didFindMatch:(GKTurnBasedMatch * _Nonnull)match | OS X 10.11 | yes |
Modified -[GKTurnBasedMatchmakerViewControllerDelegate turnBasedMatchmakerViewController:playerQuitForMatch:]
Declaration | Deprecation | Optional | |
---|---|---|---|
From | - (void)turnBasedMatchmakerViewController:(GKTurnBasedMatchmakerViewController *)viewController playerQuitForMatch:(GKTurnBasedMatch *)match | -- | -- |
To | - (void)turnBasedMatchmakerViewController:(GKTurnBasedMatchmakerViewController * _Nonnull)viewController playerQuitForMatch:(GKTurnBasedMatch * _Nonnull)match | OS X 10.11 | yes |
Modified -[GKTurnBasedMatchmakerViewControllerDelegate turnBasedMatchmakerViewControllerWasCancelled:]
Declaration | |
---|---|
From | - (void)turnBasedMatchmakerViewControllerWasCancelled:(GKTurnBasedMatchmakerViewController *)viewController |
To | - (void)turnBasedMatchmakerViewControllerWasCancelled:(GKTurnBasedMatchmakerViewController * _Nonnull)viewController |
GKVoiceChat.h
Modified GKVoiceChat.name
Declaration | |
---|---|
From | @property(readonly, copy, atomic) NSString *name |
To | @property(readonly, copy, atomic, nonnull) NSString *name |
Modified GKVoiceChat.playerIDs
Declaration | |
---|---|
From | @property(readonly, atomic) NSArray *playerIDs |
To | @property(readonly, atomic, nonnull) NSArray<NSString *> *playerIDs |
Modified GKVoiceChat.players
Declaration | |
---|---|
From | @property(readonly, atomic) NSArray *players |
To | @property(readonly, atomic, nonnull) NSArray<GKPlayer *> *players |
Modified GKVoiceChat.playerStateUpdateHandler
Declaration | |
---|---|
From | @property(copy, atomic) void (^playerStateUpdateHandler)(NSString *playerID, GKVoiceChatPlayerState state) |
To | @property(copy, atomic, nonnull) void (^playerStateUpdateHandler)(NSString * _Nonnull playerID, GKVoiceChatPlayerState state) |
Declaration | |
---|---|
From | @property(copy, atomic) void (^playerVoiceChatStateDidChangeHandler)(GKPlayer *player, GKVoiceChatPlayerState state) |
To | @property(copy, atomic, nonnull) void (^playerVoiceChatStateDidChangeHandler)(GKPlayer * _Nonnull player, GKVoiceChatPlayerState state) |
Modified -[GKVoiceChat setMute:forPlayer:]
Declaration | |
---|---|
From | - (void)setMute:(BOOL)isMuted forPlayer:(NSString *)playerID |
To | - (void)setMute:(BOOL)isMuted forPlayer:(NSString * _Nonnull)playerID |
Modified -[GKVoiceChat setPlayer:muted:]
Declaration | |
---|---|
From | - (void)setPlayer:(GKPlayer *)player muted:(BOOL)isMuted |
To | - (void)setPlayer:(GKPlayer * _Nonnull)player muted:(BOOL)isMuted |