SwiftBindings.Apple.Matter
27.2.0
dotnet add package SwiftBindings.Apple.Matter --version 27.2.0
NuGet\Install-Package SwiftBindings.Apple.Matter -Version 27.2.0
<PackageReference Include="SwiftBindings.Apple.Matter" Version="27.2.0" />
<PackageVersion Include="SwiftBindings.Apple.Matter" Version="27.2.0" />
<PackageReference Include="SwiftBindings.Apple.Matter" />
paket add SwiftBindings.Apple.Matter --version 27.2.0
#r "nuget: SwiftBindings.Apple.Matter, 27.2.0"
#:package SwiftBindings.Apple.Matter@27.2.0
#addin nuget:?package=SwiftBindings.Apple.Matter&version=27.2.0
#tool nuget:?package=SwiftBindings.Apple.Matter&version=27.2.0
SwiftBindings.Apple.Matter
Native .NET bindings for Apple's Matter framework — the Apple-provided client surface for the Matter smart-home protocol (MTRSetupPayload, MTRDeviceController, cluster types, etc.). Matter is a pure Objective-C framework; these bindings are generated through the SDK's ObjC pipeline so that the full Matter type surface is reachable from C# alongside the Swift-bridged frameworks.
📖 Full usage guide → — ObjC→C# naming, setup-payload parsing, the device-controller surface, and how the huge cluster catalog maps to C#.
Most production code reaches Matter via MatterSupport, which exposes the MatterAddDeviceRequest flow on top of the Matter types declared here. If you need that flow, install SwiftBindings.Apple.MatterSupport and this package will be pulled in transitively.
Installation
dotnet add package SwiftBindings.Apple.Matter
Requirements
- .NET 10 with Xcode 26 or 27, or .NET 11 with Xcode 27.2. Install the .NET workload released for your Xcode version (see Choosing .NET and Xcode).
- Target framework: Use versionless
net10.0-iosornet11.0-ios(or the matching-macosor-maccatalystTFM). The package includes a build for each supported .NET and Xcode pairing, and NuGet restores the one matching your toolchain. Pinning an older platform version (for example,net10.0-ios18.0) fails restore withNU1202. The target framework sets the .NET platform version you compile against, not your app's deployment minimum. - Deployment minimum is separate — set your app's real minimum OS with
<SupportedOSPlatformVersion>(independent of the TFM above). Matter's own runtime floor is iOS 16.1+ / macOS 13.0+ / Mac Catalyst 16.1+; individual APIs that need a newer OS are gated by generated[SupportedOSPlatform]attributes, and the C# compiler flags a call that isn't valid for your target. - A Matter entitlement on the consuming app (Apple requires
com.apple.developer.matter.allow-setup-payloadfor setup-payload usage)
Usage
using Matter;
// Parse a QR or manual setup payload string into an MTRSetupPayload.
var parser = new MTRQRCodeSetupPayloadParser("MT:U9VJ0OMV172PX813000");
NSError? error;
var payload = parser.PopulatePayload(out error);
Documentation
- Usage guide (wiki) — full C# walkthrough of the binding surface
- Apple Matter framework
How It Works
These bindings are auto-generated by Swift Dotnet Bindings using the SDK's ObjC pipeline. Matter ships with the OS, so this package contains the .NET binding assembly only — the framework itself is loaded from the device.
License
The bindings are MIT licensed. Matter is part of the Apple SDK; refer to Apple's licensing for the underlying framework.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-ios26.0 is compatible. net10.0-ios27.2 is compatible. net10.0-maccatalyst26.0 is compatible. net10.0-maccatalyst27.2 is compatible. net10.0-macos26.0 is compatible. net10.0-macos27.2 is compatible. net11.0-ios27.2 is compatible. net11.0-maccatalyst27.2 is compatible. net11.0-macos27.2 is compatible. |
-
net10.0-ios26.0
- No dependencies.
-
net10.0-ios27.2
- No dependencies.
-
net10.0-maccatalyst26.0
- No dependencies.
-
net10.0-maccatalyst27.2
- No dependencies.
-
net10.0-macos26.0
- No dependencies.
-
net10.0-macos27.2
- No dependencies.
-
net11.0-ios27.2
- No dependencies.
-
net11.0-maccatalyst27.2
- No dependencies.
-
net11.0-macos27.2
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SwiftBindings.Apple.Matter:
| Package | Downloads |
|---|---|
|
SwiftBindings.Apple.MatterSupport
Native Swift interop bindings for Apple MatterSupport |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 27.2.0 | 0 | 11/30/2026 |
| 26.2.16 | 140 | 10/28/2026 |
| 26.2.15 | 151 | 9/22/2026 |
| 26.2.14 | 188 | 9/5/2026 |
| 26.2.13 | 137 | 9/2/2026 |
| 26.2.12 | 143 | 8/29/2026 |
| 26.2.11 | 150 | 8/24/2026 |
| 26.2.10 | 146 | 8/5/2026 |
| 26.2.9 | 146 | 7/31/2026 |
| 26.2.8 | 179 | 6/27/2026 |
| 26.2.7 | 158 | 6/15/2026 |
| 26.2.6 | 154 | 6/11/2026 |
| 26.2.5 | 155 | 6/1/2026 |
| 26.2.3 | 178 | 5/19/2026 |