Skip to content

GameKit tvOS xcode14.0 beta1

TJ Lambert edited this page Jul 25, 2022 · 3 revisions

#GameKit.framework https://github.com/xamarin/xamarin-macios/pull/15557

diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatch.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatch.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatch.h	2022-02-23 07:14:14.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatch.h	2022-06-03 18:10:20.000000000 -0400
@@ -50,7 +50,7 @@
 /// Choose the best host from among the connected players using gathered estimates for bandwidth and packet loss. This is intended for applications that wish to implement a client-server model on top of the match. The returned player ID will be nil if the best host cannot currently be determined (e.g. players are still connecting).
 - (void)chooseBestHostingPlayerWithCompletionHandler:(void(^)(GKPlayer * __nullable player))completionHandler NS_AVAILABLE(10_10, 8_0);
 
-/// Auto-matching to recreate a previous peer-to-peer match that became disconnected. A new match with the same set of players will be returned by the completion handler. All players should perform this when the match has ended for auto-matching to succeed. Error will be nil on success.
+/// Automatching to recreate a previous peer-to-peer match that became disconnected. A new match with the same set of players will be returned by the completion handler. All players should perform this when the match has ended for automatching to succeed. Error will be nil on success.
 /// Possible reasons for error:
 /// 1. Communications failure
 /// 2. Timeout
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmaker.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmaker.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmaker.h	2022-02-23 07:14:13.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmaker.h	2022-06-03 18:10:20.000000000 -0400
@@ -55,11 +55,11 @@
 /// Will return nil if the player is underage or restricted.
 @property(copy, nullable)   NSString *inviteMessage NS_AVAILABLE(10_8, 6_0);
 
-/// Default number of players to use during matchmaking.  If not set we default to maxPlayers
+/// Default number of players to use during matchmaking. If not set we will default to the number that the player previously set for this game, or maxPlayers.
 @property(assign) NSUInteger defaultNumberOfPlayers NS_AVAILABLE(10_8, 6_0);
 
-/// Whether or not a match will be created only using auto-match.  If YES, then a player will not be able to
-/// invite anyone (including contacts, friends, and nearby players) to the match, but rely on auto-matching to
+/// Whether or not a match will be created only using automatch.  If YES, then a player will not be able to
+/// invite anyone (including contacts, friends, and nearby players) to the match, but rely on automatching to
 /// find players for the match.  Default is NO.
 @property(assign) BOOL restrictToAutomatch API_DEPRECATED("Set the matchmakingMode of GKMatchmakerViewController instead.", ios(13.0, 14.0), tvos(13.0, 14.0), macosx(10.15, 11.0));
 
@@ -111,7 +111,7 @@
 @end
 
 
-/// GKMatchmaker is a singleton object to manage match creation from invites and auto-matching.
+/// GKMatchmaker is a singleton object to manage match creation from invites and automatching.
 NS_CLASS_AVAILABLE(10_8, 4_1) __WATCHOS_PROHIBITED
 @interface GKMatchmaker : NSObject
 
@@ -124,7 +124,7 @@
 /// 2. Invite cancelled
 - (void)matchForInvite:(GKInvite *)invite completionHandler:(void(^__nullable)(GKMatch * __nullable match, NSError * __nullable error))completionHandler NS_AVAILABLE(10_9, 6_0);
 
-/// Auto-matching or invites to find a peer-to-peer match for the specified request. Error will be nil on success:
+/// Automatching or invites to find a peer-to-peer match for the specified request. Error will be nil on success:
 /// Possible reasons for error:
 /// 1. Communications failure
 /// 2. Unauthenticated player
@@ -132,7 +132,7 @@
 /// Note that the players property on the returned GKMatch instance will only contain connected players. It will initially be empty as players are connecting. Implement the GKMatchDelegate method match:player:didChangeConnectionState: to listen for updates to the GKMatch instance's players property.
 - (void)findMatchForRequest:(GKMatchRequest *)request withCompletionHandler:(void(^__nullable)(GKMatch * __nullable match, NSError * __nullable error))completionHandler;
 
-/// Auto-matching or invites for host-client match request. This returns a list of player identifiers to be included in the match. Determination and communication with the host is not part of this API.
+/// Automatching or invites for host-client match request. This returns a list of player identifiers to be included in the match. Determination and communication with the host is not part of this API.
 /// When inviting, no player identifiers will be returned. Player responses will be reported via the inviteeResponseHandler.
 /// Possible reasons for error:
 /// 1. Communications failure
@@ -140,7 +140,7 @@
 /// 3. Timeout
 - (void)findPlayersForHostedRequest:(GKMatchRequest *)request withCompletionHandler:(void(^__nullable)(NSArray<GKPlayer *> * __nullable players, NSError * __nullable error))completionHandler NS_AVAILABLE(10_10, 8_0);
 
-/// Auto-matching or invites to add additional players to a peer-to-peer match for the specified request. Error will be nil on success:
+/// Automatching or invites to add additional players to a peer-to-peer match for the specified request. Error will be nil on success:
 /// Possible reasons for error:
 /// 1. Communications failure
 /// 2. Timeout
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h	2022-02-23 07:11:19.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h	2022-06-03 18:10:19.000000000 -0400
@@ -16,7 +16,7 @@
     GKMatchmakingModeInviteOnly API_AVAILABLE(ios(15), macos(12), tvos(15)) = 3 ,
 };
 
-/// View controller to invite friends, respond to invites, and perform auto-matching. Present modally from the top view controller.
+/// View controller to invite friends, respond to invites, and perform automatching. Present modally from the top view controller.
 #if TARGET_OS_IPHONE
 
 #import <Foundation/Foundation.h>
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKTurnBasedMatchmakerViewController.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKTurnBasedMatchmakerViewController.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKTurnBasedMatchmakerViewController.h	2022-02-23 07:11:21.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKTurnBasedMatchmakerViewController.h	2022-06-03 18:08:03.000000000 -0400
@@ -14,7 +14,7 @@
 #import <Foundation/Foundation.h>
 #import <GameKit/GKMatchmakerViewController.h>
 
-/// View controller to manage turn-based matches, invite friends and perform auto-matching. Present modally from the top view controller.
+/// View controller to manage turn-based matches, invite friends and perform automatching. Present modally from the top view controller.
 #if TARGET_OS_IPHONE
 
 #import <UIKit/UINavigationController.h> // UINavigationController
Clone this wiki locally