Skip to content

Commit 703a69a

Browse files
AdamSzApplejared-marsau
authored andcommitted
New GameKit APIs for iOS/tvOS 17.2 and macOS 14.2.
* GKMatch.Properties * GKMatch.PlayerProperties * GKMatchedPlayers * GKMatchmaker.FindMatchedPlayers * GKMatchmaker.QueryQueueActivity * GKMatchmakerViewControllerDelegate.GetMatchPropertiesForRecipient * GKMatchRequest.QueueName * GKMatchRequest.Properties * GKMatchRequest.RecipientProperties * GKAchievementDescription.RarityPercent Added support for a subset of methods and properties of the following NS* data types. * NSArray and NSMutableArray * NSDictionary and NSMutableDictionary * NSError * NSException * NSNull * NSNumber * NSObject * NSString
1 parent b150d47 commit 703a69a

136 files changed

Lines changed: 21291 additions & 5692 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ plug-ins/**/TestPlayers
88
**/.vsconfig
99
**/xcuserdata
1010
*.vsconfig
11+
**/.vscode/*

plug-ins/Apple.Core/Apple.Core_Unity/Assets/Apple.Core/CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
# CHANGELOG
22
All notable changes to this project will be documented in this file.
33

4+
## [2.0.0] - 2023-11-09
5+
### Added
6+
- Add C# wrappers for `NSNull`, `NSNumber`, `NSObject`, `NSString`.
7+
- Add C# wrapper for `NSMutableDictionary<,>`. See below for further details.
8+
### Changed
9+
- BREAKING CHANGES: There are a number of breaking changes to `NSArray` and `NSDictionary` to make them behave more like standard C# collections.
10+
- `NSArray<>` is now a generic class that implements `IReadOnlyList<>` and derives from `NSObject`.
11+
- `NSMutableArray<>` is now a generic class that implements `IList<>` and derives from `NSArray<>`. The `Init` factory method has been removed. New instances can simply be created by using `new`.
12+
- `NSDictionary<,>` is now a generic class that implements `IReadOnlyDictionary<,>` and derives from `NSObject`.
13+
- `NSMutableDictionary<,>` is a new generic class that implements `IDictionary<,>` and derives from `NSDictionary<,>`
14+
- Items added to these collections can be any of the following:
15+
- Primitive `System` types: `Boolean`, `Byte`, `SByte`, `Int16`, `UInt16`, `Int32`, `UInt32`, `Int64`, `UInt64`, `Single`, and `Double`
16+
- `System.String`
17+
- `NSObject` and subclasses.
18+
- Keys used with the dictionary collections can be any of the same types allowed for items except for `NSObject`. Any subclass of `NSObject` used as a key must implement the `NSCopying` protocol.
19+
- BREAKING CHANGE: `NSError` now derives from `NSObject` instead of `System.Exception`.
20+
421
## [1.0.5] - 2023-11-28
522
### Fixed
623
- Cleans up an issue with Unity 2022.1 and later in which Unity's Asset Database was unable to find frameworks or bundles.

0 commit comments

Comments
 (0)