Skip to content

GameKit macOS xcode26.0 b3

Rolf Bjarne Kvinge edited this page Jul 9, 2025 · 1 revision

#GameKit.framework

diff -ruN /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKAccessPoint.h /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKAccessPoint.h
--- /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKAccessPoint.h	2025-06-16 00:32:50
+++ /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKAccessPoint.h	2025-07-01 07:56:17
@@ -19,6 +19,8 @@
 @class UIWindow;
 #endif
 
+@class GKGameActivity;
+
 typedef NS_ENUM(NSInteger, GKAccessPointLocation) {
     GKAccessPointLocationTopLeading,
     GKAccessPointLocationTopTrailing,
@@ -91,16 +93,12 @@
 - (void)triggerAccessPointWithGameActivityDefinitionID:(NSString *)gameActivityDefinitionID
                                                handler:(void (^ _Nullable)(void))handler NS_SWIFT_NAME(trigger(gameActivityDefinitionID:handler:)) NS_SWIFT_ASYNC(2) API_AVAILABLE(ios(26.0), macos(26.0)) API_UNAVAILABLE(tvos, visionos, watchos);
 
+/// Displays the game activity view for the provided activity instance.
+- (void)triggerAccessPointWithGameActivity:(GKGameActivity *)gameActivity
+                                   handler:(void (^ _Nullable)(void))handler NS_SWIFT_NAME(trigger(gameActivity:handler:)) NS_SWIFT_ASYNC(2) API_AVAILABLE(ios(26.0), macos(26.0)) API_UNAVAILABLE(tvos, visionos, watchos);
+
 /// Brings up the invite friends view.
 - (void)triggerAccessPointForFriendingWithHandler:(void (^ _Nullable)(void))handler NS_SWIFT_NAME(triggerForFriending(handler:)) NS_SWIFT_ASYNC(1) API_AVAILABLE(ios(26.0), macos(26.0)) API_UNAVAILABLE(tvos, visionos, watchos);
-
-@end
-
-API_UNAVAILABLE(ios, macos) API_UNAVAILABLE(ios, macos, tvos, visionos, watchos)
-@interface GKAccessPoint (Private)
-
-- (void)_triggerAccessPointWithGameActivityDefinitionID:(NSString *)gameActivityDefinitionID
-                                               handler:(void (^ _Nullable)(void))handler NS_SWIFT_NAME(_trigger(gameActivityDefinitionID:handler:)) NS_SWIFT_ASYNC(2) API_UNAVAILABLE(ios, macos) API_UNAVAILABLE(ios, macos, tvos, visionos, watchos);
 
 @end
 
diff -ruN /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKBasePlayer.h /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKBasePlayer.h
--- /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKBasePlayer.h	2025-06-16 00:52:50
+++ /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKBasePlayer.h	2025-07-01 07:26:34
@@ -5,7 +5,7 @@
 #import <GameKit/GKDefines.h>
 
 API_AVAILABLE(ios(10.0), macos(10.12), tvos(10.0), visionos(1.0), watchos(3.0))
-@interface GKBasePlayer : NSObject
+@interface GKBasePlayer : NSObject<NSCopying>
 
 @property(readonly, nullable, retain, NS_NONATOMIC_IOSONLY) NSString *playerID API_DEPRECATED_WITH_REPLACEMENT("Use ``GKPlayer/gamePlayerID`` or ``GKPlayer/teamPlayerID`` instead.", ios(10.0,13.0), macos(10.12,10.15), tvos(10.0,13.0), visionos(1.0,1.0), watchos(3.0,6.0));
 
Clone this wiki locally