SwiftBindings.Apple.Matter 26.2.6

dotnet add package SwiftBindings.Apple.Matter --version 26.2.6
                    
NuGet\Install-Package SwiftBindings.Apple.Matter -Version 26.2.6
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SwiftBindings.Apple.Matter" Version="26.2.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SwiftBindings.Apple.Matter" Version="26.2.6" />
                    
Directory.Packages.props
<PackageReference Include="SwiftBindings.Apple.Matter" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SwiftBindings.Apple.Matter --version 26.2.6
                    
#r "nuget: SwiftBindings.Apple.Matter, 26.2.6"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SwiftBindings.Apple.Matter@26.2.6
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SwiftBindings.Apple.Matter&version=26.2.6
                    
Install as a Cake Addin
#tool nuget:?package=SwiftBindings.Apple.Matter&version=26.2.6
                    
Install as a Cake Tool

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.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-payload for 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.

Product Compatible and additional computed target framework versions.
.NET net10.0-ios26.2 is compatible.  net10.0-maccatalyst26.2 is compatible.  net10.0-macos26.2 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0-ios26.2

    • No dependencies.
  • net10.0-maccatalyst26.2

    • No dependencies.
  • net10.0-macos26.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
26.2.6 33 6/11/2026
26.2.5 92 6/1/2026
26.2.3 118 5/19/2026