Skip to content

Commit

Permalink
[GameKit] Update bindings to Xcode 15.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dalexsoto committed May 22, 2024
1 parent f2e7d7e commit d26db0f
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 17 deletions.
1 change: 1 addition & 0 deletions src/GameKit/GameKit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ public enum GKError : long {
ApiObsolete = 34,
ICloudUnavailable = 35,
LockdownMode = 36,
AppUnlisted = 37,
FriendListDescriptionMissing = 100,
FriendListRestricted = 101,
FriendListDenied = 102,
Expand Down
8 changes: 8 additions & 0 deletions src/gamekit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2413,9 +2413,17 @@ interface GKChallenge : NSSecureCoding {
[BaseType (typeof (GKChallenge))]
interface GKScoreChallenge {

[Deprecated (PlatformName.iOS, 17, 4, message: "Use 'GKScoreChallenge.LeaderboardEntry' instead.")]
[Deprecated (PlatformName.MacOSX, 14, 4, message: "Use 'GKScoreChallenge.LeaderboardEntry' instead.")]
[Deprecated (PlatformName.TvOS, 17, 4, message: "Use 'GKScoreChallenge.LeaderboardEntry' instead.")]
[Deprecated (PlatformName.MacCatalyst, 17, 4, message: "Use 'GKScoreChallenge.LeaderboardEntry' instead.")]
[Export ("score", ArgumentSemantic.Retain)]
[NullAllowed]
GKScore Score { get; }

[TV (17, 4), Mac (14, 4), iOS (17, 4), MacCatalyst (17, 4)]
[NullAllowed, Export ("leaderboardEntry", ArgumentSemantic.Retain)]
GKLeaderboardEntry LeaderboardEntry { get; }
}

[NoWatch]
Expand Down
2 changes: 2 additions & 0 deletions tests/introspection/ApiSignatureTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,8 @@ protected virtual bool IgnoreAsync (MethodInfo m)
return m.DeclaringType.Name == "NSFileProviderManager";
case "Synchronize": // comes from a protocol implementation
return m.DeclaringType.Name == "NSTextContentManager";
case "AccommodatePresentedItemEviction": // comes from a protocol implementation
return m.DeclaringType.Name == "NSFilePresenter" || m.DeclaringType.Name == "UIDocument";
}
return false;
}
Expand Down
3 changes: 0 additions & 3 deletions tests/xtro-sharpie/api-annotations-dotnet/iOS-GameKit.todo

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/api-annotations-dotnet/macOS-GameKit.todo

This file was deleted.

3 changes: 0 additions & 3 deletions tests/xtro-sharpie/api-annotations-dotnet/tvOS-GameKit.todo

This file was deleted.

3 changes: 0 additions & 3 deletions tests/xtro-sharpie/iOS-GameKit.todo

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/macOS-GameKit.todo

This file was deleted.

3 changes: 0 additions & 3 deletions tests/xtro-sharpie/tvOS-GameKit.todo

This file was deleted.

1 change: 0 additions & 1 deletion tests/xtro-sharpie/watchOS-GameKit.todo
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
!unknown-native-enum! GKMatchSendDataMode bound
!unknown-native-enum! GKVoiceChatPlayerState bound
!missing-enum-value! GKError native value GKErrorAppUnlisted = 37 not bound

0 comments on commit d26db0f

Please sign in to comment.