Native interop bindings for Apple Matter (pure Objective-C framework)
Install
| Product | Versions |
|---|---|
| .NET |
README
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.
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.0+
- iOS 16.1+ / macOS 13.0+ / Mac Catalyst 16.1+
- 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
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.
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.