[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-dotnet-ios-slim-bindings":3,"mdc--gailj2-key":49,"related-repo-dotnet-ios-slim-bindings":2842,"related-org-dotnet-ios-slim-bindings":2941},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":28,"repoUrl":29,"updatedAt":30,"license":31,"forks":32,"topics":33,"repo":44,"sourceUrl":47,"mdContent":48},"ios-slim-bindings","create iOS slim bindings for MAUI","Create iOS slim bindings for MAUI. USE FOR: slim iOS binding, Native Library Interop, Swift\u002FObjective-C wrappers, XcodeGen project.yml, Podfile, CocoaPods static linking, BUILD_LIBRARY_FOR_DISTRIBUTION, XcodeProject MSBuild, `@objc`\u002F`[Export]` selector crashes, async completion handlers. DO NOT USE FOR: Android bindings, general MAUI apps, or NuGet packaging.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"dotnet",".NET (Microsoft)","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fdotnet.png",[12,16,19,22,25],{"name":13,"slug":14,"type":15},"MAUI","maui","tag",{"name":17,"slug":18,"type":15},"iOS","ios",{"name":20,"slug":21,"type":15},".NET","net",{"name":23,"slug":24,"type":15},"Swift","swift",{"name":26,"slug":27,"type":15},"Xcode","xcode",190,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fmaui-labs","2026-07-12T08:22:50.128667",null,21,[34,35,36,8,18,37,14,38,39,40,41,42,43],"ai","android","desktop","maccatalyst","mcp","microsoft","mobile","multi-platform","user-interface","winui",{"repoUrl":29,"stars":28,"forks":32,"topics":45,"description":46},[34,35,36,8,18,37,14,38,39,40,41,42,43],"Experimental and pre-release tools for .NET MAUI","https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fmaui-labs\u002Ftree\u002FHEAD\u002Fplugins\u002Fdotnet-maui\u002Fskills\u002Fios-slim-bindings","---\nname: ios-slim-bindings\ndescription: >-\n  Create iOS slim bindings for MAUI. USE FOR: slim iOS binding, Native Library Interop, Swift\u002FObjective-C wrappers, XcodeGen project.yml, Podfile, CocoaPods static linking, BUILD_LIBRARY_FOR_DISTRIBUTION, XcodeProject MSBuild, `@objc`\u002F`[Export]` selector crashes, async completion handlers. DO NOT USE FOR: Android bindings, general MAUI apps, or NuGet packaging.\n---\n\n# When to use this skill\n\nActivate this skill when the user asks:\n- How do I create iOS bindings for a native library?\n- How do I wrap an iOS SDK for use in .NET MAUI?\n- How do I create slim bindings for iOS?\n- How do I use Native Library Interop for iOS?\n- How do I bind a Swift library to .NET?\n- How do I use Objective Sharpie for iOS bindings?\n- How do I integrate an xcframework into .NET MAUI?\n- How do I create a Swift wrapper for a native iOS library?\n- How do I update iOS bindings when the native SDK changes?\n- How do I fix iOS binding build errors?\n- How do I expose native iOS APIs to C#?\n- How do I handle CocoaPods dependencies in iOS bindings?\n- How do I handle Swift Package Manager dependencies?\n\n# Overview\n\nThis skill guides the creation of **Native Library Interop (Slim Bindings)** for iOS. This modern approach creates a thin native Swift\u002FObjective-C wrapper exposing only the APIs you need from a native iOS library, making bindings easier to create and maintain.\n\n## When to Use Slim Bindings vs Traditional Bindings\n\n| Scenario | Recommended Approach |\n|----------|---------------------|\n| Need only a subset of library functionality | **Slim Bindings** |\n| Easier maintenance when SDK updates | **Slim Bindings** |\n| Prefer working in Swift\u002FObjective-C for wrapper | **Slim Bindings** |\n| Better isolation from breaking changes | **Slim Bindings** |\n| Need entire library API surface | Traditional Bindings |\n| Creating bindings for third-party developers | Traditional Bindings |\n| Already maintaining traditional bindings | Traditional Bindings |\n\n# Inputs\n\n| Parameter | Required | Example | Notes |\n|-----------|----------|---------|-------|\n| libraryName | yes | `FirebaseMessaging`, `Lottie` | Name of the native iOS library to bind |\n| bindingProjectName | yes | `MyBinding.MaciOS` | Name for the C# binding project |\n| dependencySource | no | `cocoapods`, `spm`, `xcframework` | How the native library is distributed |\n| targetFrameworks | no | `net10.0-ios;net10.0-maccatalyst` | Target frameworks (default: latest .NET iOS + Mac Catalyst) |\n| exposedApis | no | List of specific APIs | Which native APIs to expose (helps scope the wrapper) |\n\n# Project Structure\n\n```\nMyBinding\u002F\n macios\u002F\n native\u002F   \n MyBinding\u002F                    # Xcode project      \n MyBinding.xcodeproj\u002F          \n project.pbxproj             \n MyBinding\u002F          \n DotnetMyBinding.swift  # Swift wrapper implementation             \n Podfile                    # If using CocoaPods          \n Package.swift              # If using Swift Package Manager          \n MyBinding.MaciOS.Binding\u002F   \n MyBinding.MaciOS.Binding.csproj       \n ApiDefinition.cs       \n sample\u002F\n MauiSample\u002F                        # Sample MAUI app   \n MauiSample.csproj       \n MainPage.xaml.cs       \n README.md\n```\n\n# Step-by-step Process\n\n> **For detailed code examples and full implementation walkthroughs, see [references\u002Fios-slim-bindings-implementation.md](references\u002Fios-slim-bindings-implementation.md).**\n\n## Step 1: Create Project Structure\n\nInstall XcodeGen (`brew install xcodegen`) and create the directory structure:\n\n```bash\nBINDING_NAME=\"MyBinding\"\nmkdir -p ${BINDING_NAME}\u002Fmacios\u002Fnative\u002F${BINDING_NAME}\u002F${BINDING_NAME}\nmkdir -p ${BINDING_NAME}\u002Fmacios\u002F${BINDING_NAME}.MaciOS.Binding\n```\n\n## Step 2: Create the Xcode Project\n\nCreate a `project.yml` for XcodeGen with framework target, then run `xcodegen generate`. Key build settings:\n\n- `BUILD_LIBRARY_FOR_DISTRIBUTION: YES`\n- `MACH_O_TYPE: staticlib`\n- `DEFINES_MODULE: YES`\n- `SWIFT_VERSION: \"5.0\"`\n\n## Step 3: Create the C# Binding Project\n\nCreate a `.csproj` with `\u003CIsBindingProject>true\u003C\u002FIsBindingProject>` and reference the Xcode project:\n\n```xml\n\u003CXcodeProject Include=\"..\u002Fnative\u002FMyBinding\u002FMyBinding.xcodeproj\">\n  \u003CSchemeName>MyBinding\u003C\u002FSchemeName>\n\u003C\u002FXcodeProject>\n```\n\nCreate an initial `ApiDefinition.cs` with `[BaseType]`, `[Static]`, and `[Export]` attributes.\n\n## Step 4: Build and Verify\n\n```bash\ndotnet build\n```\n\nThis invokes XcodeBuild, creates the xcframework, and generates the C# binding assembly.\n\n## Step 5: Add Native Library Dependencies\n\nChoose the appropriate method:\n\n| Method | When to Use |\n|--------|-------------|\n| **CocoaPods** | Library distributed via CocoaPods. Use `use_frameworks! :linkage => :static`. After `pod install`, reference `.xcworkspace` instead of `.xcodeproj`. |\n| **Swift Package Manager** | Library distributed via SPM. Add via Xcode UI or `Package.swift`. |\n| **Manual XCFramework** | Pre-built xcframework. Drag into Xcode project, set \"Do Not Embed\" for static linking. |\n\n## Step 6: Implement the Swift Wrapper\n\nCreate `DotnetMyBinding.swift` with these requirements:\n\n- All classes must inherit from `NSObject` and have `@objc(ClassName)` annotation\n- All methods must be `public` with `@objc(selector:)` annotation\n- Use only Objective-C compatible types (see Type Mapping table below)\n- Use completion handlers `(Result?, NSError?) -> Void` for async operations\n- Convert all errors to `NSError` for proper propagation to C#\n\n## Step 7: Generate ApiDefinition.cs\n\nAfter building, find the generated Swift header and use Objective Sharpie:\n\n```bash\nsharpie bind --output=sharpie-output --namespace=MyBinding --sdk=iphoneos18.0 \\\n  --scope=Headers \"path\u002Fto\u002FMyBinding-Swift.h\"\n```\n\nClean up the generated output: add `[Async]` attributes, `[NullAllowed]` for nullable types, remove `[Verify]` attributes after review, and remove `InitWithCoder` constructors.\n\n## Step 8: Build the Final Binding\n\n```bash\ndotnet build -c Release\n```\n\n## Step 9: Use in Your MAUI App\n\nAdd a conditional `\u003CProjectReference>`, initialize in `MauiProgram.cs` with `#if IOS || MACCATALYST`, and use `[Async]`-generated methods with `await`.\n\n# Updating Bindings When Native SDK Changes\n\n1. Update native dependency version (CocoaPods: `pod update`, SPM: update version, or replace xcframework)\n2. Update Swift wrapper if APIs changed\n3. Clean and rebuild: `dotnet clean && dotnet build`\n4. Regenerate Objective Sharpie output and diff with existing `ApiDefinition.cs`\n5. Merge changes: add new bindings, update signatures, preserve custom attributes.\n6. Test with sample app\n\n> For detailed update instructions, see [references\u002Fios-slim-bindings-implementation.md](references\u002Fios-slim-bindings-implementation.md).\n\n# Troubleshooting\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| \"Framework not found\" | XCFramework path incorrect or missing architectures | Verify path in `\u003CXcodeProject>`, check `lipo -info` |\n| \"Undefined symbols for architecture\" | Missing linked frameworks or symbol visibility | Add system frameworks, verify `public` + `@objc` annotations |\n| \"No type or protocol named\" | Missing import or protocol mismatch | Add `using` directives, use interface types |\n| \"Duplicate symbol\" | Multiple framework references | Remove duplicates, resolve version conflicts |\n| \"Native class hasn't been loaded\" (runtime) | Framework not embedded or missing `@objc` | Set `\u003CForceLoad>true\u003C\u002FForceLoad>`, check annotations |\n| \"unrecognized selector\" (runtime) | Selector mismatch between C# and Swift | Verify `[Export(\"...\")]` matches `@objc(...)` exactly |\n| \"Library not loaded: @rpath\" (runtime) | Swift runtime or embedding issue | Add linker flags, set \"Embed & Sign\" for dynamic frameworks |\n| Callbacks not working | Wrong thread, GC'd reference, or missing `@escaping` | Use `DispatchQueue.main.async`, hold strong reference |\n\n> For detailed troubleshooting with code examples, see [references\u002Fios-slim-bindings-implementation.md](references\u002Fios-slim-bindings-implementation.md).\n\n# Quick Reference\n\n## Swift Wrapper Annotation Requirements\n\n```swift\n@objc(ClassName)\npublic class ClassName: NSObject {\n    @objc(methodNameWithParam:anotherParam:)\n    public func methodName(param: String, anotherParam: Int) -> Bool { ... }\n\n    @objc(staticMethodWithValue:)\n    public static func staticMethod(value: String) -> String { ... }\n}\n```\n\n## Type Mapping\n\n| Swift Type | Objective-C Type | C# Type |\n|------------|------------------|---------|\n| `String` | `NSString *` | `string` |\n| `Bool` | `BOOL` | `bool` |\n| `Int`, `Int32` | `int` | `int` |\n| `Int64` | `long long` | `long` |\n| `Double` | `double` | `double` |\n| `Float` | `float` | `float` |\n| `Data` | `NSData *` | `NSData` |\n| `[String: Any]` | `NSDictionary *` | `NSDictionary` |\n| `[Any]` | `NSArray *` | `NSArray` |\n| `UIView` | `UIView *` | `UIView` |\n| `UIImage` | `UIImage *` | `UIImage` |\n| `URL` | `NSURL *` | `NSUrl` |\n| Custom Class | Must inherit `NSObject` | Interface with `[BaseType]` |\n| `(Result, Error?) -> Void` | Block | `Action\u003CResult?, NSError?>` |\n\n## ApiDefinition Attributes\n\n| Attribute | Purpose |\n|-----------|---------|\n| `[BaseType(typeof(NSObject))]` | Specifies base class |\n| `[Static]` | Static method\u002Fproperty |\n| `[Export(\"selector:\")]` | Objective-C selector |\n| `[Async]` | Generate async wrapper for completion handler methods |\n| `[NullAllowed]` | Nullable parameter\u002Freturn |\n| `[Protocol]` | Objective-C protocol |\n| `[Model]` | Protocol implementation |\n| `[Abstract]` | Required protocol method |\n| `[Internal]` | Don't expose publicly |\n| `[Sealed]` | Prevent subclassing |\n\n## XcodeProject MSBuild Properties\n\n| Property | Description | Default |\n|----------|-------------|---------|\n| `SchemeName` | Xcode scheme to build | Required |\n| `Configuration` | Build configuration | `Release` |\n| `Kind` | `Framework` or `Static` | Auto-detected |\n| `SmartLink` | Enable smart linking | `true` |\n| `ForceLoad` | Force load all symbols | `false` |\n\n# Resources\n\n## Official Documentation\n- [Native Library Interop - .NET Community Toolkit](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fcommunitytoolkit\u002Fmaui\u002Fnative-library-interop)\n- [iOS Binding Project Migration](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fmaui\u002Fmigration\u002Fios-binding-projects)\n- [Binding Objective-C Libraries](https:\u002F\u002Flearn.microsoft.com\u002Fxamarin\u002Fcross-platform\u002Fmacios\u002Fbinding\u002F)\n- [Objective Sharpie](https:\u002F\u002Flearn.microsoft.com\u002Fprevious-versions\u002Fxamarin\u002Fcross-platform\u002Fmacios\u002Fbinding\u002Fobjective-sharpie\u002F)\n\n## Tools\n- [XcodeGen](https:\u002F\u002Fgithub.com\u002Fyonaskolb\u002FXcodeGen) — Generate Xcode projects from YAML specification\n\n## Templates and Examples\n- [Maui.NativeLibraryInterop Repository](https:\u002F\u002Fgithub.com\u002FCommunityToolkit\u002FMaui.NativeLibraryInterop)\n- [CommunityToolkit.Maui Bindings](https:\u002F\u002Fgithub.com\u002FCommunityToolkit\u002FMaui)\n\n## Reference Files\n- [ios-bindings-guide.md](references\u002Fios-bindings-guide.md) — comprehensive binding reference\n- [ios-slim-bindings-implementation.md](references\u002Fios-slim-bindings-implementation.md) — detailed code examples, troubleshooting, and complete scripts\n- For Android bindings, use the **android-slim-bindings** skill\n\n# Output Format\n\nWhen assisting with iOS slim bindings, provide:\n\n1. **Project structure** - File\u002Ffolder layout for the binding\n2. **Swift wrapper code** - Complete `DotnetMyBinding.swift` implementation\n3. **Xcode configuration** - Build settings and dependency setup\n4. **C# binding project** - `.csproj` and `ApiDefinition.cs` files\n5. **Usage examples** - How to call the binding from MAUI\u002FC#\n6. **Troubleshooting guidance** - Common issues and solutions for the specific library\n\nAlways verify:\n- Swift classes have `@objc(ClassName)` annotations\n- Methods have `@objc(selector:)` annotations matching Objective-C conventions\n- Types are marshallable between Swift and C#\n- Async operations use completion handlers with `[Async]` attribute\n- Error handling uses `NSError` for proper propagation\n",{"data":50,"body":51},{"name":4,"description":6},{"type":52,"children":53},"root",[54,63,69,139,145,158,165,291,297,480,486,498,504,524,530,543,697,703,724,763,769,789,822,857,863,882,887,893,898,1006,1012,1025,1099,1105,1110,1172,1209,1215,1244,1250,1292,1298,1351,1364,1370,1621,1634,1640,1646,1723,1729,2172,2178,2367,2373,2533,2539,2545,2589,2595,2610,2616,2639,2645,2681,2687,2692,2776,2781,2836],{"type":55,"tag":56,"props":57,"children":59},"element","h1",{"id":58},"when-to-use-this-skill",[60],{"type":61,"value":62},"text","When to use this skill",{"type":55,"tag":64,"props":65,"children":66},"p",{},[67],{"type":61,"value":68},"Activate this skill when the user asks:",{"type":55,"tag":70,"props":71,"children":72},"ul",{},[73,79,84,89,94,99,104,109,114,119,124,129,134],{"type":55,"tag":74,"props":75,"children":76},"li",{},[77],{"type":61,"value":78},"How do I create iOS bindings for a native library?",{"type":55,"tag":74,"props":80,"children":81},{},[82],{"type":61,"value":83},"How do I wrap an iOS SDK for use in .NET MAUI?",{"type":55,"tag":74,"props":85,"children":86},{},[87],{"type":61,"value":88},"How do I create slim bindings for iOS?",{"type":55,"tag":74,"props":90,"children":91},{},[92],{"type":61,"value":93},"How do I use Native Library Interop for iOS?",{"type":55,"tag":74,"props":95,"children":96},{},[97],{"type":61,"value":98},"How do I bind a Swift library to .NET?",{"type":55,"tag":74,"props":100,"children":101},{},[102],{"type":61,"value":103},"How do I use Objective Sharpie for iOS bindings?",{"type":55,"tag":74,"props":105,"children":106},{},[107],{"type":61,"value":108},"How do I integrate an xcframework into .NET MAUI?",{"type":55,"tag":74,"props":110,"children":111},{},[112],{"type":61,"value":113},"How do I create a Swift wrapper for a native iOS library?",{"type":55,"tag":74,"props":115,"children":116},{},[117],{"type":61,"value":118},"How do I update iOS bindings when the native SDK changes?",{"type":55,"tag":74,"props":120,"children":121},{},[122],{"type":61,"value":123},"How do I fix iOS binding build errors?",{"type":55,"tag":74,"props":125,"children":126},{},[127],{"type":61,"value":128},"How do I expose native iOS APIs to C#?",{"type":55,"tag":74,"props":130,"children":131},{},[132],{"type":61,"value":133},"How do I handle CocoaPods dependencies in iOS bindings?",{"type":55,"tag":74,"props":135,"children":136},{},[137],{"type":61,"value":138},"How do I handle Swift Package Manager dependencies?",{"type":55,"tag":56,"props":140,"children":142},{"id":141},"overview",[143],{"type":61,"value":144},"Overview",{"type":55,"tag":64,"props":146,"children":147},{},[148,150,156],{"type":61,"value":149},"This skill guides the creation of ",{"type":55,"tag":151,"props":152,"children":153},"strong",{},[154],{"type":61,"value":155},"Native Library Interop (Slim Bindings)",{"type":61,"value":157}," for iOS. This modern approach creates a thin native Swift\u002FObjective-C wrapper exposing only the APIs you need from a native iOS library, making bindings easier to create and maintain.",{"type":55,"tag":159,"props":160,"children":162},"h2",{"id":161},"when-to-use-slim-bindings-vs-traditional-bindings",[163],{"type":61,"value":164},"When to Use Slim Bindings vs Traditional Bindings",{"type":55,"tag":166,"props":167,"children":168},"table",{},[169,188],{"type":55,"tag":170,"props":171,"children":172},"thead",{},[173],{"type":55,"tag":174,"props":175,"children":176},"tr",{},[177,183],{"type":55,"tag":178,"props":179,"children":180},"th",{},[181],{"type":61,"value":182},"Scenario",{"type":55,"tag":178,"props":184,"children":185},{},[186],{"type":61,"value":187},"Recommended Approach",{"type":55,"tag":189,"props":190,"children":191},"tbody",{},[192,209,224,239,254,267,279],{"type":55,"tag":174,"props":193,"children":194},{},[195,201],{"type":55,"tag":196,"props":197,"children":198},"td",{},[199],{"type":61,"value":200},"Need only a subset of library functionality",{"type":55,"tag":196,"props":202,"children":203},{},[204],{"type":55,"tag":151,"props":205,"children":206},{},[207],{"type":61,"value":208},"Slim Bindings",{"type":55,"tag":174,"props":210,"children":211},{},[212,217],{"type":55,"tag":196,"props":213,"children":214},{},[215],{"type":61,"value":216},"Easier maintenance when SDK updates",{"type":55,"tag":196,"props":218,"children":219},{},[220],{"type":55,"tag":151,"props":221,"children":222},{},[223],{"type":61,"value":208},{"type":55,"tag":174,"props":225,"children":226},{},[227,232],{"type":55,"tag":196,"props":228,"children":229},{},[230],{"type":61,"value":231},"Prefer working in Swift\u002FObjective-C for wrapper",{"type":55,"tag":196,"props":233,"children":234},{},[235],{"type":55,"tag":151,"props":236,"children":237},{},[238],{"type":61,"value":208},{"type":55,"tag":174,"props":240,"children":241},{},[242,247],{"type":55,"tag":196,"props":243,"children":244},{},[245],{"type":61,"value":246},"Better isolation from breaking changes",{"type":55,"tag":196,"props":248,"children":249},{},[250],{"type":55,"tag":151,"props":251,"children":252},{},[253],{"type":61,"value":208},{"type":55,"tag":174,"props":255,"children":256},{},[257,262],{"type":55,"tag":196,"props":258,"children":259},{},[260],{"type":61,"value":261},"Need entire library API surface",{"type":55,"tag":196,"props":263,"children":264},{},[265],{"type":61,"value":266},"Traditional Bindings",{"type":55,"tag":174,"props":268,"children":269},{},[270,275],{"type":55,"tag":196,"props":271,"children":272},{},[273],{"type":61,"value":274},"Creating bindings for third-party developers",{"type":55,"tag":196,"props":276,"children":277},{},[278],{"type":61,"value":266},{"type":55,"tag":174,"props":280,"children":281},{},[282,287],{"type":55,"tag":196,"props":283,"children":284},{},[285],{"type":61,"value":286},"Already maintaining traditional bindings",{"type":55,"tag":196,"props":288,"children":289},{},[290],{"type":61,"value":266},{"type":55,"tag":56,"props":292,"children":294},{"id":293},"inputs",[295],{"type":61,"value":296},"Inputs",{"type":55,"tag":166,"props":298,"children":299},{},[300,326],{"type":55,"tag":170,"props":301,"children":302},{},[303],{"type":55,"tag":174,"props":304,"children":305},{},[306,311,316,321],{"type":55,"tag":178,"props":307,"children":308},{},[309],{"type":61,"value":310},"Parameter",{"type":55,"tag":178,"props":312,"children":313},{},[314],{"type":61,"value":315},"Required",{"type":55,"tag":178,"props":317,"children":318},{},[319],{"type":61,"value":320},"Example",{"type":55,"tag":178,"props":322,"children":323},{},[324],{"type":61,"value":325},"Notes",{"type":55,"tag":189,"props":327,"children":328},{},[329,365,391,432,458],{"type":55,"tag":174,"props":330,"children":331},{},[332,337,342,360],{"type":55,"tag":196,"props":333,"children":334},{},[335],{"type":61,"value":336},"libraryName",{"type":55,"tag":196,"props":338,"children":339},{},[340],{"type":61,"value":341},"yes",{"type":55,"tag":196,"props":343,"children":344},{},[345,352,354],{"type":55,"tag":346,"props":347,"children":349},"code",{"className":348},[],[350],{"type":61,"value":351},"FirebaseMessaging",{"type":61,"value":353},", ",{"type":55,"tag":346,"props":355,"children":357},{"className":356},[],[358],{"type":61,"value":359},"Lottie",{"type":55,"tag":196,"props":361,"children":362},{},[363],{"type":61,"value":364},"Name of the native iOS library to bind",{"type":55,"tag":174,"props":366,"children":367},{},[368,373,377,386],{"type":55,"tag":196,"props":369,"children":370},{},[371],{"type":61,"value":372},"bindingProjectName",{"type":55,"tag":196,"props":374,"children":375},{},[376],{"type":61,"value":341},{"type":55,"tag":196,"props":378,"children":379},{},[380],{"type":55,"tag":346,"props":381,"children":383},{"className":382},[],[384],{"type":61,"value":385},"MyBinding.MaciOS",{"type":55,"tag":196,"props":387,"children":388},{},[389],{"type":61,"value":390},"Name for the C# binding project",{"type":55,"tag":174,"props":392,"children":393},{},[394,399,404,427],{"type":55,"tag":196,"props":395,"children":396},{},[397],{"type":61,"value":398},"dependencySource",{"type":55,"tag":196,"props":400,"children":401},{},[402],{"type":61,"value":403},"no",{"type":55,"tag":196,"props":405,"children":406},{},[407,413,414,420,421],{"type":55,"tag":346,"props":408,"children":410},{"className":409},[],[411],{"type":61,"value":412},"cocoapods",{"type":61,"value":353},{"type":55,"tag":346,"props":415,"children":417},{"className":416},[],[418],{"type":61,"value":419},"spm",{"type":61,"value":353},{"type":55,"tag":346,"props":422,"children":424},{"className":423},[],[425],{"type":61,"value":426},"xcframework",{"type":55,"tag":196,"props":428,"children":429},{},[430],{"type":61,"value":431},"How the native library is distributed",{"type":55,"tag":174,"props":433,"children":434},{},[435,440,444,453],{"type":55,"tag":196,"props":436,"children":437},{},[438],{"type":61,"value":439},"targetFrameworks",{"type":55,"tag":196,"props":441,"children":442},{},[443],{"type":61,"value":403},{"type":55,"tag":196,"props":445,"children":446},{},[447],{"type":55,"tag":346,"props":448,"children":450},{"className":449},[],[451],{"type":61,"value":452},"net10.0-ios;net10.0-maccatalyst",{"type":55,"tag":196,"props":454,"children":455},{},[456],{"type":61,"value":457},"Target frameworks (default: latest .NET iOS + Mac Catalyst)",{"type":55,"tag":174,"props":459,"children":460},{},[461,466,470,475],{"type":55,"tag":196,"props":462,"children":463},{},[464],{"type":61,"value":465},"exposedApis",{"type":55,"tag":196,"props":467,"children":468},{},[469],{"type":61,"value":403},{"type":55,"tag":196,"props":471,"children":472},{},[473],{"type":61,"value":474},"List of specific APIs",{"type":55,"tag":196,"props":476,"children":477},{},[478],{"type":61,"value":479},"Which native APIs to expose (helps scope the wrapper)",{"type":55,"tag":56,"props":481,"children":483},{"id":482},"project-structure",[484],{"type":61,"value":485},"Project Structure",{"type":55,"tag":487,"props":488,"children":492},"pre",{"className":489,"code":491,"language":61},[490],"language-text","MyBinding\u002F\n macios\u002F\n native\u002F   \n MyBinding\u002F                    # Xcode project      \n MyBinding.xcodeproj\u002F          \n project.pbxproj             \n MyBinding\u002F          \n DotnetMyBinding.swift  # Swift wrapper implementation             \n Podfile                    # If using CocoaPods          \n Package.swift              # If using Swift Package Manager          \n MyBinding.MaciOS.Binding\u002F   \n MyBinding.MaciOS.Binding.csproj       \n ApiDefinition.cs       \n sample\u002F\n MauiSample\u002F                        # Sample MAUI app   \n MauiSample.csproj       \n MainPage.xaml.cs       \n README.md\n",[493],{"type":55,"tag":346,"props":494,"children":496},{"__ignoreMap":495},"",[497],{"type":61,"value":491},{"type":55,"tag":56,"props":499,"children":501},{"id":500},"step-by-step-process",[502],{"type":61,"value":503},"Step-by-step Process",{"type":55,"tag":505,"props":506,"children":507},"blockquote",{},[508],{"type":55,"tag":64,"props":509,"children":510},{},[511],{"type":55,"tag":151,"props":512,"children":513},{},[514,516,522],{"type":61,"value":515},"For detailed code examples and full implementation walkthroughs, see ",{"type":55,"tag":517,"props":518,"children":520},"a",{"href":519},"references\u002Fios-slim-bindings-implementation.md",[521],{"type":61,"value":519},{"type":61,"value":523},".",{"type":55,"tag":159,"props":525,"children":527},{"id":526},"step-1-create-project-structure",[528],{"type":61,"value":529},"Step 1: Create Project Structure",{"type":55,"tag":64,"props":531,"children":532},{},[533,535,541],{"type":61,"value":534},"Install XcodeGen (",{"type":55,"tag":346,"props":536,"children":538},{"className":537},[],[539],{"type":61,"value":540},"brew install xcodegen",{"type":61,"value":542},") and create the directory structure:",{"type":55,"tag":487,"props":544,"children":548},{"className":545,"code":546,"language":547,"meta":495,"style":495},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","BINDING_NAME=\"MyBinding\"\nmkdir -p ${BINDING_NAME}\u002Fmacios\u002Fnative\u002F${BINDING_NAME}\u002F${BINDING_NAME}\nmkdir -p ${BINDING_NAME}\u002Fmacios\u002F${BINDING_NAME}.MaciOS.Binding\n","bash",[549],{"type":55,"tag":346,"props":550,"children":551},{"__ignoreMap":495},[552,586,651],{"type":55,"tag":553,"props":554,"children":557},"span",{"class":555,"line":556},"line",1,[558,564,570,575,581],{"type":55,"tag":553,"props":559,"children":561},{"style":560},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[562],{"type":61,"value":563},"BINDING_NAME",{"type":55,"tag":553,"props":565,"children":567},{"style":566},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[568],{"type":61,"value":569},"=",{"type":55,"tag":553,"props":571,"children":572},{"style":566},[573],{"type":61,"value":574},"\"",{"type":55,"tag":553,"props":576,"children":578},{"style":577},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[579],{"type":61,"value":580},"MyBinding",{"type":55,"tag":553,"props":582,"children":583},{"style":566},[584],{"type":61,"value":585},"\"\n",{"type":55,"tag":553,"props":587,"children":589},{"class":555,"line":588},2,[590,596,601,606,610,615,620,625,629,633,638,642,646],{"type":55,"tag":553,"props":591,"children":593},{"style":592},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[594],{"type":61,"value":595},"mkdir",{"type":55,"tag":553,"props":597,"children":598},{"style":577},[599],{"type":61,"value":600}," -p",{"type":55,"tag":553,"props":602,"children":603},{"style":566},[604],{"type":61,"value":605}," ${",{"type":55,"tag":553,"props":607,"children":608},{"style":560},[609],{"type":61,"value":563},{"type":55,"tag":553,"props":611,"children":612},{"style":566},[613],{"type":61,"value":614},"}",{"type":55,"tag":553,"props":616,"children":617},{"style":577},[618],{"type":61,"value":619},"\u002Fmacios\u002Fnative\u002F",{"type":55,"tag":553,"props":621,"children":622},{"style":566},[623],{"type":61,"value":624},"${",{"type":55,"tag":553,"props":626,"children":627},{"style":560},[628],{"type":61,"value":563},{"type":55,"tag":553,"props":630,"children":631},{"style":566},[632],{"type":61,"value":614},{"type":55,"tag":553,"props":634,"children":635},{"style":577},[636],{"type":61,"value":637},"\u002F",{"type":55,"tag":553,"props":639,"children":640},{"style":566},[641],{"type":61,"value":624},{"type":55,"tag":553,"props":643,"children":644},{"style":560},[645],{"type":61,"value":563},{"type":55,"tag":553,"props":647,"children":648},{"style":566},[649],{"type":61,"value":650},"}\n",{"type":55,"tag":553,"props":652,"children":654},{"class":555,"line":653},3,[655,659,663,667,671,675,680,684,688,692],{"type":55,"tag":553,"props":656,"children":657},{"style":592},[658],{"type":61,"value":595},{"type":55,"tag":553,"props":660,"children":661},{"style":577},[662],{"type":61,"value":600},{"type":55,"tag":553,"props":664,"children":665},{"style":566},[666],{"type":61,"value":605},{"type":55,"tag":553,"props":668,"children":669},{"style":560},[670],{"type":61,"value":563},{"type":55,"tag":553,"props":672,"children":673},{"style":566},[674],{"type":61,"value":614},{"type":55,"tag":553,"props":676,"children":677},{"style":577},[678],{"type":61,"value":679},"\u002Fmacios\u002F",{"type":55,"tag":553,"props":681,"children":682},{"style":566},[683],{"type":61,"value":624},{"type":55,"tag":553,"props":685,"children":686},{"style":560},[687],{"type":61,"value":563},{"type":55,"tag":553,"props":689,"children":690},{"style":566},[691],{"type":61,"value":614},{"type":55,"tag":553,"props":693,"children":694},{"style":577},[695],{"type":61,"value":696},".MaciOS.Binding\n",{"type":55,"tag":159,"props":698,"children":700},{"id":699},"step-2-create-the-xcode-project",[701],{"type":61,"value":702},"Step 2: Create the Xcode Project",{"type":55,"tag":64,"props":704,"children":705},{},[706,708,714,716,722],{"type":61,"value":707},"Create a ",{"type":55,"tag":346,"props":709,"children":711},{"className":710},[],[712],{"type":61,"value":713},"project.yml",{"type":61,"value":715}," for XcodeGen with framework target, then run ",{"type":55,"tag":346,"props":717,"children":719},{"className":718},[],[720],{"type":61,"value":721},"xcodegen generate",{"type":61,"value":723},". Key build settings:",{"type":55,"tag":70,"props":725,"children":726},{},[727,736,745,754],{"type":55,"tag":74,"props":728,"children":729},{},[730],{"type":55,"tag":346,"props":731,"children":733},{"className":732},[],[734],{"type":61,"value":735},"BUILD_LIBRARY_FOR_DISTRIBUTION: YES",{"type":55,"tag":74,"props":737,"children":738},{},[739],{"type":55,"tag":346,"props":740,"children":742},{"className":741},[],[743],{"type":61,"value":744},"MACH_O_TYPE: staticlib",{"type":55,"tag":74,"props":746,"children":747},{},[748],{"type":55,"tag":346,"props":749,"children":751},{"className":750},[],[752],{"type":61,"value":753},"DEFINES_MODULE: YES",{"type":55,"tag":74,"props":755,"children":756},{},[757],{"type":55,"tag":346,"props":758,"children":760},{"className":759},[],[761],{"type":61,"value":762},"SWIFT_VERSION: \"5.0\"",{"type":55,"tag":159,"props":764,"children":766},{"id":765},"step-3-create-the-c-binding-project",[767],{"type":61,"value":768},"Step 3: Create the C# Binding Project",{"type":55,"tag":64,"props":770,"children":771},{},[772,773,779,781,787],{"type":61,"value":707},{"type":55,"tag":346,"props":774,"children":776},{"className":775},[],[777],{"type":61,"value":778},".csproj",{"type":61,"value":780}," with ",{"type":55,"tag":346,"props":782,"children":784},{"className":783},[],[785],{"type":61,"value":786},"\u003CIsBindingProject>true\u003C\u002FIsBindingProject>",{"type":61,"value":788}," and reference the Xcode project:",{"type":55,"tag":487,"props":790,"children":794},{"className":791,"code":792,"language":793,"meta":495,"style":495},"language-xml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003CXcodeProject Include=\"..\u002Fnative\u002FMyBinding\u002FMyBinding.xcodeproj\">\n  \u003CSchemeName>MyBinding\u003C\u002FSchemeName>\n\u003C\u002FXcodeProject>\n","xml",[795],{"type":55,"tag":346,"props":796,"children":797},{"__ignoreMap":495},[798,806,814],{"type":55,"tag":553,"props":799,"children":800},{"class":555,"line":556},[801],{"type":55,"tag":553,"props":802,"children":803},{},[804],{"type":61,"value":805},"\u003CXcodeProject Include=\"..\u002Fnative\u002FMyBinding\u002FMyBinding.xcodeproj\">\n",{"type":55,"tag":553,"props":807,"children":808},{"class":555,"line":588},[809],{"type":55,"tag":553,"props":810,"children":811},{},[812],{"type":61,"value":813},"  \u003CSchemeName>MyBinding\u003C\u002FSchemeName>\n",{"type":55,"tag":553,"props":815,"children":816},{"class":555,"line":653},[817],{"type":55,"tag":553,"props":818,"children":819},{},[820],{"type":61,"value":821},"\u003C\u002FXcodeProject>\n",{"type":55,"tag":64,"props":823,"children":824},{},[825,827,833,834,840,841,847,849,855],{"type":61,"value":826},"Create an initial ",{"type":55,"tag":346,"props":828,"children":830},{"className":829},[],[831],{"type":61,"value":832},"ApiDefinition.cs",{"type":61,"value":780},{"type":55,"tag":346,"props":835,"children":837},{"className":836},[],[838],{"type":61,"value":839},"[BaseType]",{"type":61,"value":353},{"type":55,"tag":346,"props":842,"children":844},{"className":843},[],[845],{"type":61,"value":846},"[Static]",{"type":61,"value":848},", and ",{"type":55,"tag":346,"props":850,"children":852},{"className":851},[],[853],{"type":61,"value":854},"[Export]",{"type":61,"value":856}," attributes.",{"type":55,"tag":159,"props":858,"children":860},{"id":859},"step-4-build-and-verify",[861],{"type":61,"value":862},"Step 4: Build and Verify",{"type":55,"tag":487,"props":864,"children":866},{"className":545,"code":865,"language":547,"meta":495,"style":495},"dotnet build\n",[867],{"type":55,"tag":346,"props":868,"children":869},{"__ignoreMap":495},[870],{"type":55,"tag":553,"props":871,"children":872},{"class":555,"line":556},[873,877],{"type":55,"tag":553,"props":874,"children":875},{"style":592},[876],{"type":61,"value":8},{"type":55,"tag":553,"props":878,"children":879},{"style":577},[880],{"type":61,"value":881}," build\n",{"type":55,"tag":64,"props":883,"children":884},{},[885],{"type":61,"value":886},"This invokes XcodeBuild, creates the xcframework, and generates the C# binding assembly.",{"type":55,"tag":159,"props":888,"children":890},{"id":889},"step-5-add-native-library-dependencies",[891],{"type":61,"value":892},"Step 5: Add Native Library Dependencies",{"type":55,"tag":64,"props":894,"children":895},{},[896],{"type":61,"value":897},"Choose the appropriate method:",{"type":55,"tag":166,"props":899,"children":900},{},[901,917],{"type":55,"tag":170,"props":902,"children":903},{},[904],{"type":55,"tag":174,"props":905,"children":906},{},[907,912],{"type":55,"tag":178,"props":908,"children":909},{},[910],{"type":61,"value":911},"Method",{"type":55,"tag":178,"props":913,"children":914},{},[915],{"type":61,"value":916},"When to Use",{"type":55,"tag":189,"props":918,"children":919},{},[920,967,990],{"type":55,"tag":174,"props":921,"children":922},{},[923,931],{"type":55,"tag":196,"props":924,"children":925},{},[926],{"type":55,"tag":151,"props":927,"children":928},{},[929],{"type":61,"value":930},"CocoaPods",{"type":55,"tag":196,"props":932,"children":933},{},[934,936,942,944,950,952,958,960,966],{"type":61,"value":935},"Library distributed via CocoaPods. Use ",{"type":55,"tag":346,"props":937,"children":939},{"className":938},[],[940],{"type":61,"value":941},"use_frameworks! :linkage => :static",{"type":61,"value":943},". After ",{"type":55,"tag":346,"props":945,"children":947},{"className":946},[],[948],{"type":61,"value":949},"pod install",{"type":61,"value":951},", reference ",{"type":55,"tag":346,"props":953,"children":955},{"className":954},[],[956],{"type":61,"value":957},".xcworkspace",{"type":61,"value":959}," instead of ",{"type":55,"tag":346,"props":961,"children":963},{"className":962},[],[964],{"type":61,"value":965},".xcodeproj",{"type":61,"value":523},{"type":55,"tag":174,"props":968,"children":969},{},[970,978],{"type":55,"tag":196,"props":971,"children":972},{},[973],{"type":55,"tag":151,"props":974,"children":975},{},[976],{"type":61,"value":977},"Swift Package Manager",{"type":55,"tag":196,"props":979,"children":980},{},[981,983,989],{"type":61,"value":982},"Library distributed via SPM. Add via Xcode UI or ",{"type":55,"tag":346,"props":984,"children":986},{"className":985},[],[987],{"type":61,"value":988},"Package.swift",{"type":61,"value":523},{"type":55,"tag":174,"props":991,"children":992},{},[993,1001],{"type":55,"tag":196,"props":994,"children":995},{},[996],{"type":55,"tag":151,"props":997,"children":998},{},[999],{"type":61,"value":1000},"Manual XCFramework",{"type":55,"tag":196,"props":1002,"children":1003},{},[1004],{"type":61,"value":1005},"Pre-built xcframework. Drag into Xcode project, set \"Do Not Embed\" for static linking.",{"type":55,"tag":159,"props":1007,"children":1009},{"id":1008},"step-6-implement-the-swift-wrapper",[1010],{"type":61,"value":1011},"Step 6: Implement the Swift Wrapper",{"type":55,"tag":64,"props":1013,"children":1014},{},[1015,1017,1023],{"type":61,"value":1016},"Create ",{"type":55,"tag":346,"props":1018,"children":1020},{"className":1019},[],[1021],{"type":61,"value":1022},"DotnetMyBinding.swift",{"type":61,"value":1024}," with these requirements:",{"type":55,"tag":70,"props":1026,"children":1027},{},[1028,1049,1068,1073,1086],{"type":55,"tag":74,"props":1029,"children":1030},{},[1031,1033,1039,1041,1047],{"type":61,"value":1032},"All classes must inherit from ",{"type":55,"tag":346,"props":1034,"children":1036},{"className":1035},[],[1037],{"type":61,"value":1038},"NSObject",{"type":61,"value":1040}," and have ",{"type":55,"tag":346,"props":1042,"children":1044},{"className":1043},[],[1045],{"type":61,"value":1046},"@objc(ClassName)",{"type":61,"value":1048}," annotation",{"type":55,"tag":74,"props":1050,"children":1051},{},[1052,1054,1060,1061,1067],{"type":61,"value":1053},"All methods must be ",{"type":55,"tag":346,"props":1055,"children":1057},{"className":1056},[],[1058],{"type":61,"value":1059},"public",{"type":61,"value":780},{"type":55,"tag":346,"props":1062,"children":1064},{"className":1063},[],[1065],{"type":61,"value":1066},"@objc(selector:)",{"type":61,"value":1048},{"type":55,"tag":74,"props":1069,"children":1070},{},[1071],{"type":61,"value":1072},"Use only Objective-C compatible types (see Type Mapping table below)",{"type":55,"tag":74,"props":1074,"children":1075},{},[1076,1078,1084],{"type":61,"value":1077},"Use completion handlers ",{"type":55,"tag":346,"props":1079,"children":1081},{"className":1080},[],[1082],{"type":61,"value":1083},"(Result?, NSError?) -> Void",{"type":61,"value":1085}," for async operations",{"type":55,"tag":74,"props":1087,"children":1088},{},[1089,1091,1097],{"type":61,"value":1090},"Convert all errors to ",{"type":55,"tag":346,"props":1092,"children":1094},{"className":1093},[],[1095],{"type":61,"value":1096},"NSError",{"type":61,"value":1098}," for proper propagation to C#",{"type":55,"tag":159,"props":1100,"children":1102},{"id":1101},"step-7-generate-apidefinitioncs",[1103],{"type":61,"value":1104},"Step 7: Generate ApiDefinition.cs",{"type":55,"tag":64,"props":1106,"children":1107},{},[1108],{"type":61,"value":1109},"After building, find the generated Swift header and use Objective Sharpie:",{"type":55,"tag":487,"props":1111,"children":1113},{"className":545,"code":1112,"language":547,"meta":495,"style":495},"sharpie bind --output=sharpie-output --namespace=MyBinding --sdk=iphoneos18.0 \\\n  --scope=Headers \"path\u002Fto\u002FMyBinding-Swift.h\"\n",[1114],{"type":55,"tag":346,"props":1115,"children":1116},{"__ignoreMap":495},[1117,1150],{"type":55,"tag":553,"props":1118,"children":1119},{"class":555,"line":556},[1120,1125,1130,1135,1140,1145],{"type":55,"tag":553,"props":1121,"children":1122},{"style":592},[1123],{"type":61,"value":1124},"sharpie",{"type":55,"tag":553,"props":1126,"children":1127},{"style":577},[1128],{"type":61,"value":1129}," bind",{"type":55,"tag":553,"props":1131,"children":1132},{"style":577},[1133],{"type":61,"value":1134}," --output=sharpie-output",{"type":55,"tag":553,"props":1136,"children":1137},{"style":577},[1138],{"type":61,"value":1139}," --namespace=MyBinding",{"type":55,"tag":553,"props":1141,"children":1142},{"style":577},[1143],{"type":61,"value":1144}," --sdk=iphoneos18.0",{"type":55,"tag":553,"props":1146,"children":1147},{"style":560},[1148],{"type":61,"value":1149}," \\\n",{"type":55,"tag":553,"props":1151,"children":1152},{"class":555,"line":588},[1153,1158,1163,1168],{"type":55,"tag":553,"props":1154,"children":1155},{"style":577},[1156],{"type":61,"value":1157},"  --scope=Headers",{"type":55,"tag":553,"props":1159,"children":1160},{"style":566},[1161],{"type":61,"value":1162}," \"",{"type":55,"tag":553,"props":1164,"children":1165},{"style":577},[1166],{"type":61,"value":1167},"path\u002Fto\u002FMyBinding-Swift.h",{"type":55,"tag":553,"props":1169,"children":1170},{"style":566},[1171],{"type":61,"value":585},{"type":55,"tag":64,"props":1173,"children":1174},{},[1175,1177,1183,1185,1191,1193,1199,1201,1207],{"type":61,"value":1176},"Clean up the generated output: add ",{"type":55,"tag":346,"props":1178,"children":1180},{"className":1179},[],[1181],{"type":61,"value":1182},"[Async]",{"type":61,"value":1184}," attributes, ",{"type":55,"tag":346,"props":1186,"children":1188},{"className":1187},[],[1189],{"type":61,"value":1190},"[NullAllowed]",{"type":61,"value":1192}," for nullable types, remove ",{"type":55,"tag":346,"props":1194,"children":1196},{"className":1195},[],[1197],{"type":61,"value":1198},"[Verify]",{"type":61,"value":1200}," attributes after review, and remove ",{"type":55,"tag":346,"props":1202,"children":1204},{"className":1203},[],[1205],{"type":61,"value":1206},"InitWithCoder",{"type":61,"value":1208}," constructors.",{"type":55,"tag":159,"props":1210,"children":1212},{"id":1211},"step-8-build-the-final-binding",[1213],{"type":61,"value":1214},"Step 8: Build the Final Binding",{"type":55,"tag":487,"props":1216,"children":1218},{"className":545,"code":1217,"language":547,"meta":495,"style":495},"dotnet build -c Release\n",[1219],{"type":55,"tag":346,"props":1220,"children":1221},{"__ignoreMap":495},[1222],{"type":55,"tag":553,"props":1223,"children":1224},{"class":555,"line":556},[1225,1229,1234,1239],{"type":55,"tag":553,"props":1226,"children":1227},{"style":592},[1228],{"type":61,"value":8},{"type":55,"tag":553,"props":1230,"children":1231},{"style":577},[1232],{"type":61,"value":1233}," build",{"type":55,"tag":553,"props":1235,"children":1236},{"style":577},[1237],{"type":61,"value":1238}," -c",{"type":55,"tag":553,"props":1240,"children":1241},{"style":577},[1242],{"type":61,"value":1243}," Release\n",{"type":55,"tag":159,"props":1245,"children":1247},{"id":1246},"step-9-use-in-your-maui-app",[1248],{"type":61,"value":1249},"Step 9: Use in Your MAUI App",{"type":55,"tag":64,"props":1251,"children":1252},{},[1253,1255,1261,1263,1269,1270,1276,1278,1283,1285,1291],{"type":61,"value":1254},"Add a conditional ",{"type":55,"tag":346,"props":1256,"children":1258},{"className":1257},[],[1259],{"type":61,"value":1260},"\u003CProjectReference>",{"type":61,"value":1262},", initialize in ",{"type":55,"tag":346,"props":1264,"children":1266},{"className":1265},[],[1267],{"type":61,"value":1268},"MauiProgram.cs",{"type":61,"value":780},{"type":55,"tag":346,"props":1271,"children":1273},{"className":1272},[],[1274],{"type":61,"value":1275},"#if IOS || MACCATALYST",{"type":61,"value":1277},", and use ",{"type":55,"tag":346,"props":1279,"children":1281},{"className":1280},[],[1282],{"type":61,"value":1182},{"type":61,"value":1284},"-generated methods with ",{"type":55,"tag":346,"props":1286,"children":1288},{"className":1287},[],[1289],{"type":61,"value":1290},"await",{"type":61,"value":523},{"type":55,"tag":56,"props":1293,"children":1295},{"id":1294},"updating-bindings-when-native-sdk-changes",[1296],{"type":61,"value":1297},"Updating Bindings When Native SDK Changes",{"type":55,"tag":1299,"props":1300,"children":1301},"ol",{},[1302,1315,1320,1331,1341,1346],{"type":55,"tag":74,"props":1303,"children":1304},{},[1305,1307,1313],{"type":61,"value":1306},"Update native dependency version (CocoaPods: ",{"type":55,"tag":346,"props":1308,"children":1310},{"className":1309},[],[1311],{"type":61,"value":1312},"pod update",{"type":61,"value":1314},", SPM: update version, or replace xcframework)",{"type":55,"tag":74,"props":1316,"children":1317},{},[1318],{"type":61,"value":1319},"Update Swift wrapper if APIs changed",{"type":55,"tag":74,"props":1321,"children":1322},{},[1323,1325],{"type":61,"value":1324},"Clean and rebuild: ",{"type":55,"tag":346,"props":1326,"children":1328},{"className":1327},[],[1329],{"type":61,"value":1330},"dotnet clean && dotnet build",{"type":55,"tag":74,"props":1332,"children":1333},{},[1334,1336],{"type":61,"value":1335},"Regenerate Objective Sharpie output and diff with existing ",{"type":55,"tag":346,"props":1337,"children":1339},{"className":1338},[],[1340],{"type":61,"value":832},{"type":55,"tag":74,"props":1342,"children":1343},{},[1344],{"type":61,"value":1345},"Merge changes: add new bindings, update signatures, preserve custom attributes.",{"type":55,"tag":74,"props":1347,"children":1348},{},[1349],{"type":61,"value":1350},"Test with sample app",{"type":55,"tag":505,"props":1352,"children":1353},{},[1354],{"type":55,"tag":64,"props":1355,"children":1356},{},[1357,1359,1363],{"type":61,"value":1358},"For detailed update instructions, see ",{"type":55,"tag":517,"props":1360,"children":1361},{"href":519},[1362],{"type":61,"value":519},{"type":61,"value":523},{"type":55,"tag":56,"props":1365,"children":1367},{"id":1366},"troubleshooting",[1368],{"type":61,"value":1369},"Troubleshooting",{"type":55,"tag":166,"props":1371,"children":1372},{},[1373,1394],{"type":55,"tag":170,"props":1374,"children":1375},{},[1376],{"type":55,"tag":174,"props":1377,"children":1378},{},[1379,1384,1389],{"type":55,"tag":178,"props":1380,"children":1381},{},[1382],{"type":61,"value":1383},"Error",{"type":55,"tag":178,"props":1385,"children":1386},{},[1387],{"type":61,"value":1388},"Cause",{"type":55,"tag":178,"props":1390,"children":1391},{},[1392],{"type":61,"value":1393},"Solution",{"type":55,"tag":189,"props":1395,"children":1396},{},[1397,1429,1462,1488,1506,1537,1571,1589],{"type":55,"tag":174,"props":1398,"children":1399},{},[1400,1405,1410],{"type":55,"tag":196,"props":1401,"children":1402},{},[1403],{"type":61,"value":1404},"\"Framework not found\"",{"type":55,"tag":196,"props":1406,"children":1407},{},[1408],{"type":61,"value":1409},"XCFramework path incorrect or missing architectures",{"type":55,"tag":196,"props":1411,"children":1412},{},[1413,1415,1421,1423],{"type":61,"value":1414},"Verify path in ",{"type":55,"tag":346,"props":1416,"children":1418},{"className":1417},[],[1419],{"type":61,"value":1420},"\u003CXcodeProject>",{"type":61,"value":1422},", check ",{"type":55,"tag":346,"props":1424,"children":1426},{"className":1425},[],[1427],{"type":61,"value":1428},"lipo -info",{"type":55,"tag":174,"props":1430,"children":1431},{},[1432,1437,1442],{"type":55,"tag":196,"props":1433,"children":1434},{},[1435],{"type":61,"value":1436},"\"Undefined symbols for architecture\"",{"type":55,"tag":196,"props":1438,"children":1439},{},[1440],{"type":61,"value":1441},"Missing linked frameworks or symbol visibility",{"type":55,"tag":196,"props":1443,"children":1444},{},[1445,1447,1452,1454,1460],{"type":61,"value":1446},"Add system frameworks, verify ",{"type":55,"tag":346,"props":1448,"children":1450},{"className":1449},[],[1451],{"type":61,"value":1059},{"type":61,"value":1453}," + ",{"type":55,"tag":346,"props":1455,"children":1457},{"className":1456},[],[1458],{"type":61,"value":1459},"@objc",{"type":61,"value":1461}," annotations",{"type":55,"tag":174,"props":1463,"children":1464},{},[1465,1470,1475],{"type":55,"tag":196,"props":1466,"children":1467},{},[1468],{"type":61,"value":1469},"\"No type or protocol named\"",{"type":55,"tag":196,"props":1471,"children":1472},{},[1473],{"type":61,"value":1474},"Missing import or protocol mismatch",{"type":55,"tag":196,"props":1476,"children":1477},{},[1478,1480,1486],{"type":61,"value":1479},"Add ",{"type":55,"tag":346,"props":1481,"children":1483},{"className":1482},[],[1484],{"type":61,"value":1485},"using",{"type":61,"value":1487}," directives, use interface types",{"type":55,"tag":174,"props":1489,"children":1490},{},[1491,1496,1501],{"type":55,"tag":196,"props":1492,"children":1493},{},[1494],{"type":61,"value":1495},"\"Duplicate symbol\"",{"type":55,"tag":196,"props":1497,"children":1498},{},[1499],{"type":61,"value":1500},"Multiple framework references",{"type":55,"tag":196,"props":1502,"children":1503},{},[1504],{"type":61,"value":1505},"Remove duplicates, resolve version conflicts",{"type":55,"tag":174,"props":1507,"children":1508},{},[1509,1514,1524],{"type":55,"tag":196,"props":1510,"children":1511},{},[1512],{"type":61,"value":1513},"\"Native class hasn't been loaded\" (runtime)",{"type":55,"tag":196,"props":1515,"children":1516},{},[1517,1519],{"type":61,"value":1518},"Framework not embedded or missing ",{"type":55,"tag":346,"props":1520,"children":1522},{"className":1521},[],[1523],{"type":61,"value":1459},{"type":55,"tag":196,"props":1525,"children":1526},{},[1527,1529,1535],{"type":61,"value":1528},"Set ",{"type":55,"tag":346,"props":1530,"children":1532},{"className":1531},[],[1533],{"type":61,"value":1534},"\u003CForceLoad>true\u003C\u002FForceLoad>",{"type":61,"value":1536},", check annotations",{"type":55,"tag":174,"props":1538,"children":1539},{},[1540,1545,1550],{"type":55,"tag":196,"props":1541,"children":1542},{},[1543],{"type":61,"value":1544},"\"unrecognized selector\" (runtime)",{"type":55,"tag":196,"props":1546,"children":1547},{},[1548],{"type":61,"value":1549},"Selector mismatch between C# and Swift",{"type":55,"tag":196,"props":1551,"children":1552},{},[1553,1555,1561,1563,1569],{"type":61,"value":1554},"Verify ",{"type":55,"tag":346,"props":1556,"children":1558},{"className":1557},[],[1559],{"type":61,"value":1560},"[Export(\"...\")]",{"type":61,"value":1562}," matches ",{"type":55,"tag":346,"props":1564,"children":1566},{"className":1565},[],[1567],{"type":61,"value":1568},"@objc(...)",{"type":61,"value":1570}," exactly",{"type":55,"tag":174,"props":1572,"children":1573},{},[1574,1579,1584],{"type":55,"tag":196,"props":1575,"children":1576},{},[1577],{"type":61,"value":1578},"\"Library not loaded: @rpath\" (runtime)",{"type":55,"tag":196,"props":1580,"children":1581},{},[1582],{"type":61,"value":1583},"Swift runtime or embedding issue",{"type":55,"tag":196,"props":1585,"children":1586},{},[1587],{"type":61,"value":1588},"Add linker flags, set \"Embed & Sign\" for dynamic frameworks",{"type":55,"tag":174,"props":1590,"children":1591},{},[1592,1597,1608],{"type":55,"tag":196,"props":1593,"children":1594},{},[1595],{"type":61,"value":1596},"Callbacks not working",{"type":55,"tag":196,"props":1598,"children":1599},{},[1600,1602],{"type":61,"value":1601},"Wrong thread, GC'd reference, or missing ",{"type":55,"tag":346,"props":1603,"children":1605},{"className":1604},[],[1606],{"type":61,"value":1607},"@escaping",{"type":55,"tag":196,"props":1609,"children":1610},{},[1611,1613,1619],{"type":61,"value":1612},"Use ",{"type":55,"tag":346,"props":1614,"children":1616},{"className":1615},[],[1617],{"type":61,"value":1618},"DispatchQueue.main.async",{"type":61,"value":1620},", hold strong reference",{"type":55,"tag":505,"props":1622,"children":1623},{},[1624],{"type":55,"tag":64,"props":1625,"children":1626},{},[1627,1629,1633],{"type":61,"value":1628},"For detailed troubleshooting with code examples, see ",{"type":55,"tag":517,"props":1630,"children":1631},{"href":519},[1632],{"type":61,"value":519},{"type":61,"value":523},{"type":55,"tag":56,"props":1635,"children":1637},{"id":1636},"quick-reference",[1638],{"type":61,"value":1639},"Quick Reference",{"type":55,"tag":159,"props":1641,"children":1643},{"id":1642},"swift-wrapper-annotation-requirements",[1644],{"type":61,"value":1645},"Swift Wrapper Annotation Requirements",{"type":55,"tag":487,"props":1647,"children":1650},{"className":1648,"code":1649,"language":24,"meta":495,"style":495},"language-swift shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","@objc(ClassName)\npublic class ClassName: NSObject {\n    @objc(methodNameWithParam:anotherParam:)\n    public func methodName(param: String, anotherParam: Int) -> Bool { ... }\n\n    @objc(staticMethodWithValue:)\n    public static func staticMethod(value: String) -> String { ... }\n}\n",[1651],{"type":55,"tag":346,"props":1652,"children":1653},{"__ignoreMap":495},[1654,1662,1670,1678,1687,1697,1706,1715],{"type":55,"tag":553,"props":1655,"children":1656},{"class":555,"line":556},[1657],{"type":55,"tag":553,"props":1658,"children":1659},{},[1660],{"type":61,"value":1661},"@objc(ClassName)\n",{"type":55,"tag":553,"props":1663,"children":1664},{"class":555,"line":588},[1665],{"type":55,"tag":553,"props":1666,"children":1667},{},[1668],{"type":61,"value":1669},"public class ClassName: NSObject {\n",{"type":55,"tag":553,"props":1671,"children":1672},{"class":555,"line":653},[1673],{"type":55,"tag":553,"props":1674,"children":1675},{},[1676],{"type":61,"value":1677},"    @objc(methodNameWithParam:anotherParam:)\n",{"type":55,"tag":553,"props":1679,"children":1681},{"class":555,"line":1680},4,[1682],{"type":55,"tag":553,"props":1683,"children":1684},{},[1685],{"type":61,"value":1686},"    public func methodName(param: String, anotherParam: Int) -> Bool { ... }\n",{"type":55,"tag":553,"props":1688,"children":1690},{"class":555,"line":1689},5,[1691],{"type":55,"tag":553,"props":1692,"children":1694},{"emptyLinePlaceholder":1693},true,[1695],{"type":61,"value":1696},"\n",{"type":55,"tag":553,"props":1698,"children":1700},{"class":555,"line":1699},6,[1701],{"type":55,"tag":553,"props":1702,"children":1703},{},[1704],{"type":61,"value":1705},"    @objc(staticMethodWithValue:)\n",{"type":55,"tag":553,"props":1707,"children":1709},{"class":555,"line":1708},7,[1710],{"type":55,"tag":553,"props":1711,"children":1712},{},[1713],{"type":61,"value":1714},"    public static func staticMethod(value: String) -> String { ... }\n",{"type":55,"tag":553,"props":1716,"children":1718},{"class":555,"line":1717},8,[1719],{"type":55,"tag":553,"props":1720,"children":1721},{},[1722],{"type":61,"value":650},{"type":55,"tag":159,"props":1724,"children":1726},{"id":1725},"type-mapping",[1727],{"type":61,"value":1728},"Type Mapping",{"type":55,"tag":166,"props":1730,"children":1731},{},[1732,1753],{"type":55,"tag":170,"props":1733,"children":1734},{},[1735],{"type":55,"tag":174,"props":1736,"children":1737},{},[1738,1743,1748],{"type":55,"tag":178,"props":1739,"children":1740},{},[1741],{"type":61,"value":1742},"Swift Type",{"type":55,"tag":178,"props":1744,"children":1745},{},[1746],{"type":61,"value":1747},"Objective-C Type",{"type":55,"tag":178,"props":1749,"children":1750},{},[1751],{"type":61,"value":1752},"C# Type",{"type":55,"tag":189,"props":1754,"children":1755},{},[1756,1786,1816,1852,1882,1911,1940,1970,2000,2030,2059,2088,2118,2146],{"type":55,"tag":174,"props":1757,"children":1758},{},[1759,1768,1777],{"type":55,"tag":196,"props":1760,"children":1761},{},[1762],{"type":55,"tag":346,"props":1763,"children":1765},{"className":1764},[],[1766],{"type":61,"value":1767},"String",{"type":55,"tag":196,"props":1769,"children":1770},{},[1771],{"type":55,"tag":346,"props":1772,"children":1774},{"className":1773},[],[1775],{"type":61,"value":1776},"NSString *",{"type":55,"tag":196,"props":1778,"children":1779},{},[1780],{"type":55,"tag":346,"props":1781,"children":1783},{"className":1782},[],[1784],{"type":61,"value":1785},"string",{"type":55,"tag":174,"props":1787,"children":1788},{},[1789,1798,1807],{"type":55,"tag":196,"props":1790,"children":1791},{},[1792],{"type":55,"tag":346,"props":1793,"children":1795},{"className":1794},[],[1796],{"type":61,"value":1797},"Bool",{"type":55,"tag":196,"props":1799,"children":1800},{},[1801],{"type":55,"tag":346,"props":1802,"children":1804},{"className":1803},[],[1805],{"type":61,"value":1806},"BOOL",{"type":55,"tag":196,"props":1808,"children":1809},{},[1810],{"type":55,"tag":346,"props":1811,"children":1813},{"className":1812},[],[1814],{"type":61,"value":1815},"bool",{"type":55,"tag":174,"props":1817,"children":1818},{},[1819,1835,1844],{"type":55,"tag":196,"props":1820,"children":1821},{},[1822,1828,1829],{"type":55,"tag":346,"props":1823,"children":1825},{"className":1824},[],[1826],{"type":61,"value":1827},"Int",{"type":61,"value":353},{"type":55,"tag":346,"props":1830,"children":1832},{"className":1831},[],[1833],{"type":61,"value":1834},"Int32",{"type":55,"tag":196,"props":1836,"children":1837},{},[1838],{"type":55,"tag":346,"props":1839,"children":1841},{"className":1840},[],[1842],{"type":61,"value":1843},"int",{"type":55,"tag":196,"props":1845,"children":1846},{},[1847],{"type":55,"tag":346,"props":1848,"children":1850},{"className":1849},[],[1851],{"type":61,"value":1843},{"type":55,"tag":174,"props":1853,"children":1854},{},[1855,1864,1873],{"type":55,"tag":196,"props":1856,"children":1857},{},[1858],{"type":55,"tag":346,"props":1859,"children":1861},{"className":1860},[],[1862],{"type":61,"value":1863},"Int64",{"type":55,"tag":196,"props":1865,"children":1866},{},[1867],{"type":55,"tag":346,"props":1868,"children":1870},{"className":1869},[],[1871],{"type":61,"value":1872},"long long",{"type":55,"tag":196,"props":1874,"children":1875},{},[1876],{"type":55,"tag":346,"props":1877,"children":1879},{"className":1878},[],[1880],{"type":61,"value":1881},"long",{"type":55,"tag":174,"props":1883,"children":1884},{},[1885,1894,1903],{"type":55,"tag":196,"props":1886,"children":1887},{},[1888],{"type":55,"tag":346,"props":1889,"children":1891},{"className":1890},[],[1892],{"type":61,"value":1893},"Double",{"type":55,"tag":196,"props":1895,"children":1896},{},[1897],{"type":55,"tag":346,"props":1898,"children":1900},{"className":1899},[],[1901],{"type":61,"value":1902},"double",{"type":55,"tag":196,"props":1904,"children":1905},{},[1906],{"type":55,"tag":346,"props":1907,"children":1909},{"className":1908},[],[1910],{"type":61,"value":1902},{"type":55,"tag":174,"props":1912,"children":1913},{},[1914,1923,1932],{"type":55,"tag":196,"props":1915,"children":1916},{},[1917],{"type":55,"tag":346,"props":1918,"children":1920},{"className":1919},[],[1921],{"type":61,"value":1922},"Float",{"type":55,"tag":196,"props":1924,"children":1925},{},[1926],{"type":55,"tag":346,"props":1927,"children":1929},{"className":1928},[],[1930],{"type":61,"value":1931},"float",{"type":55,"tag":196,"props":1933,"children":1934},{},[1935],{"type":55,"tag":346,"props":1936,"children":1938},{"className":1937},[],[1939],{"type":61,"value":1931},{"type":55,"tag":174,"props":1941,"children":1942},{},[1943,1952,1961],{"type":55,"tag":196,"props":1944,"children":1945},{},[1946],{"type":55,"tag":346,"props":1947,"children":1949},{"className":1948},[],[1950],{"type":61,"value":1951},"Data",{"type":55,"tag":196,"props":1953,"children":1954},{},[1955],{"type":55,"tag":346,"props":1956,"children":1958},{"className":1957},[],[1959],{"type":61,"value":1960},"NSData *",{"type":55,"tag":196,"props":1962,"children":1963},{},[1964],{"type":55,"tag":346,"props":1965,"children":1967},{"className":1966},[],[1968],{"type":61,"value":1969},"NSData",{"type":55,"tag":174,"props":1971,"children":1972},{},[1973,1982,1991],{"type":55,"tag":196,"props":1974,"children":1975},{},[1976],{"type":55,"tag":346,"props":1977,"children":1979},{"className":1978},[],[1980],{"type":61,"value":1981},"[String: Any]",{"type":55,"tag":196,"props":1983,"children":1984},{},[1985],{"type":55,"tag":346,"props":1986,"children":1988},{"className":1987},[],[1989],{"type":61,"value":1990},"NSDictionary *",{"type":55,"tag":196,"props":1992,"children":1993},{},[1994],{"type":55,"tag":346,"props":1995,"children":1997},{"className":1996},[],[1998],{"type":61,"value":1999},"NSDictionary",{"type":55,"tag":174,"props":2001,"children":2002},{},[2003,2012,2021],{"type":55,"tag":196,"props":2004,"children":2005},{},[2006],{"type":55,"tag":346,"props":2007,"children":2009},{"className":2008},[],[2010],{"type":61,"value":2011},"[Any]",{"type":55,"tag":196,"props":2013,"children":2014},{},[2015],{"type":55,"tag":346,"props":2016,"children":2018},{"className":2017},[],[2019],{"type":61,"value":2020},"NSArray *",{"type":55,"tag":196,"props":2022,"children":2023},{},[2024],{"type":55,"tag":346,"props":2025,"children":2027},{"className":2026},[],[2028],{"type":61,"value":2029},"NSArray",{"type":55,"tag":174,"props":2031,"children":2032},{},[2033,2042,2051],{"type":55,"tag":196,"props":2034,"children":2035},{},[2036],{"type":55,"tag":346,"props":2037,"children":2039},{"className":2038},[],[2040],{"type":61,"value":2041},"UIView",{"type":55,"tag":196,"props":2043,"children":2044},{},[2045],{"type":55,"tag":346,"props":2046,"children":2048},{"className":2047},[],[2049],{"type":61,"value":2050},"UIView *",{"type":55,"tag":196,"props":2052,"children":2053},{},[2054],{"type":55,"tag":346,"props":2055,"children":2057},{"className":2056},[],[2058],{"type":61,"value":2041},{"type":55,"tag":174,"props":2060,"children":2061},{},[2062,2071,2080],{"type":55,"tag":196,"props":2063,"children":2064},{},[2065],{"type":55,"tag":346,"props":2066,"children":2068},{"className":2067},[],[2069],{"type":61,"value":2070},"UIImage",{"type":55,"tag":196,"props":2072,"children":2073},{},[2074],{"type":55,"tag":346,"props":2075,"children":2077},{"className":2076},[],[2078],{"type":61,"value":2079},"UIImage *",{"type":55,"tag":196,"props":2081,"children":2082},{},[2083],{"type":55,"tag":346,"props":2084,"children":2086},{"className":2085},[],[2087],{"type":61,"value":2070},{"type":55,"tag":174,"props":2089,"children":2090},{},[2091,2100,2109],{"type":55,"tag":196,"props":2092,"children":2093},{},[2094],{"type":55,"tag":346,"props":2095,"children":2097},{"className":2096},[],[2098],{"type":61,"value":2099},"URL",{"type":55,"tag":196,"props":2101,"children":2102},{},[2103],{"type":55,"tag":346,"props":2104,"children":2106},{"className":2105},[],[2107],{"type":61,"value":2108},"NSURL *",{"type":55,"tag":196,"props":2110,"children":2111},{},[2112],{"type":55,"tag":346,"props":2113,"children":2115},{"className":2114},[],[2116],{"type":61,"value":2117},"NSUrl",{"type":55,"tag":174,"props":2119,"children":2120},{},[2121,2126,2136],{"type":55,"tag":196,"props":2122,"children":2123},{},[2124],{"type":61,"value":2125},"Custom Class",{"type":55,"tag":196,"props":2127,"children":2128},{},[2129,2131],{"type":61,"value":2130},"Must inherit ",{"type":55,"tag":346,"props":2132,"children":2134},{"className":2133},[],[2135],{"type":61,"value":1038},{"type":55,"tag":196,"props":2137,"children":2138},{},[2139,2141],{"type":61,"value":2140},"Interface with ",{"type":55,"tag":346,"props":2142,"children":2144},{"className":2143},[],[2145],{"type":61,"value":839},{"type":55,"tag":174,"props":2147,"children":2148},{},[2149,2158,2163],{"type":55,"tag":196,"props":2150,"children":2151},{},[2152],{"type":55,"tag":346,"props":2153,"children":2155},{"className":2154},[],[2156],{"type":61,"value":2157},"(Result, Error?) -> Void",{"type":55,"tag":196,"props":2159,"children":2160},{},[2161],{"type":61,"value":2162},"Block",{"type":55,"tag":196,"props":2164,"children":2165},{},[2166],{"type":55,"tag":346,"props":2167,"children":2169},{"className":2168},[],[2170],{"type":61,"value":2171},"Action\u003CResult?, NSError?>",{"type":55,"tag":159,"props":2173,"children":2175},{"id":2174},"apidefinition-attributes",[2176],{"type":61,"value":2177},"ApiDefinition Attributes",{"type":55,"tag":166,"props":2179,"children":2180},{},[2181,2197],{"type":55,"tag":170,"props":2182,"children":2183},{},[2184],{"type":55,"tag":174,"props":2185,"children":2186},{},[2187,2192],{"type":55,"tag":178,"props":2188,"children":2189},{},[2190],{"type":61,"value":2191},"Attribute",{"type":55,"tag":178,"props":2193,"children":2194},{},[2195],{"type":61,"value":2196},"Purpose",{"type":55,"tag":189,"props":2198,"children":2199},{},[2200,2217,2233,2250,2266,2282,2299,2316,2333,2350],{"type":55,"tag":174,"props":2201,"children":2202},{},[2203,2212],{"type":55,"tag":196,"props":2204,"children":2205},{},[2206],{"type":55,"tag":346,"props":2207,"children":2209},{"className":2208},[],[2210],{"type":61,"value":2211},"[BaseType(typeof(NSObject))]",{"type":55,"tag":196,"props":2213,"children":2214},{},[2215],{"type":61,"value":2216},"Specifies base class",{"type":55,"tag":174,"props":2218,"children":2219},{},[2220,2228],{"type":55,"tag":196,"props":2221,"children":2222},{},[2223],{"type":55,"tag":346,"props":2224,"children":2226},{"className":2225},[],[2227],{"type":61,"value":846},{"type":55,"tag":196,"props":2229,"children":2230},{},[2231],{"type":61,"value":2232},"Static method\u002Fproperty",{"type":55,"tag":174,"props":2234,"children":2235},{},[2236,2245],{"type":55,"tag":196,"props":2237,"children":2238},{},[2239],{"type":55,"tag":346,"props":2240,"children":2242},{"className":2241},[],[2243],{"type":61,"value":2244},"[Export(\"selector:\")]",{"type":55,"tag":196,"props":2246,"children":2247},{},[2248],{"type":61,"value":2249},"Objective-C selector",{"type":55,"tag":174,"props":2251,"children":2252},{},[2253,2261],{"type":55,"tag":196,"props":2254,"children":2255},{},[2256],{"type":55,"tag":346,"props":2257,"children":2259},{"className":2258},[],[2260],{"type":61,"value":1182},{"type":55,"tag":196,"props":2262,"children":2263},{},[2264],{"type":61,"value":2265},"Generate async wrapper for completion handler methods",{"type":55,"tag":174,"props":2267,"children":2268},{},[2269,2277],{"type":55,"tag":196,"props":2270,"children":2271},{},[2272],{"type":55,"tag":346,"props":2273,"children":2275},{"className":2274},[],[2276],{"type":61,"value":1190},{"type":55,"tag":196,"props":2278,"children":2279},{},[2280],{"type":61,"value":2281},"Nullable parameter\u002Freturn",{"type":55,"tag":174,"props":2283,"children":2284},{},[2285,2294],{"type":55,"tag":196,"props":2286,"children":2287},{},[2288],{"type":55,"tag":346,"props":2289,"children":2291},{"className":2290},[],[2292],{"type":61,"value":2293},"[Protocol]",{"type":55,"tag":196,"props":2295,"children":2296},{},[2297],{"type":61,"value":2298},"Objective-C protocol",{"type":55,"tag":174,"props":2300,"children":2301},{},[2302,2311],{"type":55,"tag":196,"props":2303,"children":2304},{},[2305],{"type":55,"tag":346,"props":2306,"children":2308},{"className":2307},[],[2309],{"type":61,"value":2310},"[Model]",{"type":55,"tag":196,"props":2312,"children":2313},{},[2314],{"type":61,"value":2315},"Protocol implementation",{"type":55,"tag":174,"props":2317,"children":2318},{},[2319,2328],{"type":55,"tag":196,"props":2320,"children":2321},{},[2322],{"type":55,"tag":346,"props":2323,"children":2325},{"className":2324},[],[2326],{"type":61,"value":2327},"[Abstract]",{"type":55,"tag":196,"props":2329,"children":2330},{},[2331],{"type":61,"value":2332},"Required protocol method",{"type":55,"tag":174,"props":2334,"children":2335},{},[2336,2345],{"type":55,"tag":196,"props":2337,"children":2338},{},[2339],{"type":55,"tag":346,"props":2340,"children":2342},{"className":2341},[],[2343],{"type":61,"value":2344},"[Internal]",{"type":55,"tag":196,"props":2346,"children":2347},{},[2348],{"type":61,"value":2349},"Don't expose publicly",{"type":55,"tag":174,"props":2351,"children":2352},{},[2353,2362],{"type":55,"tag":196,"props":2354,"children":2355},{},[2356],{"type":55,"tag":346,"props":2357,"children":2359},{"className":2358},[],[2360],{"type":61,"value":2361},"[Sealed]",{"type":55,"tag":196,"props":2363,"children":2364},{},[2365],{"type":61,"value":2366},"Prevent subclassing",{"type":55,"tag":159,"props":2368,"children":2370},{"id":2369},"xcodeproject-msbuild-properties",[2371],{"type":61,"value":2372},"XcodeProject MSBuild Properties",{"type":55,"tag":166,"props":2374,"children":2375},{},[2376,2397],{"type":55,"tag":170,"props":2377,"children":2378},{},[2379],{"type":55,"tag":174,"props":2380,"children":2381},{},[2382,2387,2392],{"type":55,"tag":178,"props":2383,"children":2384},{},[2385],{"type":61,"value":2386},"Property",{"type":55,"tag":178,"props":2388,"children":2389},{},[2390],{"type":61,"value":2391},"Description",{"type":55,"tag":178,"props":2393,"children":2394},{},[2395],{"type":61,"value":2396},"Default",{"type":55,"tag":189,"props":2398,"children":2399},{},[2400,2421,2447,2481,2507],{"type":55,"tag":174,"props":2401,"children":2402},{},[2403,2412,2417],{"type":55,"tag":196,"props":2404,"children":2405},{},[2406],{"type":55,"tag":346,"props":2407,"children":2409},{"className":2408},[],[2410],{"type":61,"value":2411},"SchemeName",{"type":55,"tag":196,"props":2413,"children":2414},{},[2415],{"type":61,"value":2416},"Xcode scheme to build",{"type":55,"tag":196,"props":2418,"children":2419},{},[2420],{"type":61,"value":315},{"type":55,"tag":174,"props":2422,"children":2423},{},[2424,2433,2438],{"type":55,"tag":196,"props":2425,"children":2426},{},[2427],{"type":55,"tag":346,"props":2428,"children":2430},{"className":2429},[],[2431],{"type":61,"value":2432},"Configuration",{"type":55,"tag":196,"props":2434,"children":2435},{},[2436],{"type":61,"value":2437},"Build configuration",{"type":55,"tag":196,"props":2439,"children":2440},{},[2441],{"type":55,"tag":346,"props":2442,"children":2444},{"className":2443},[],[2445],{"type":61,"value":2446},"Release",{"type":55,"tag":174,"props":2448,"children":2449},{},[2450,2459,2476],{"type":55,"tag":196,"props":2451,"children":2452},{},[2453],{"type":55,"tag":346,"props":2454,"children":2456},{"className":2455},[],[2457],{"type":61,"value":2458},"Kind",{"type":55,"tag":196,"props":2460,"children":2461},{},[2462,2468,2470],{"type":55,"tag":346,"props":2463,"children":2465},{"className":2464},[],[2466],{"type":61,"value":2467},"Framework",{"type":61,"value":2469}," or ",{"type":55,"tag":346,"props":2471,"children":2473},{"className":2472},[],[2474],{"type":61,"value":2475},"Static",{"type":55,"tag":196,"props":2477,"children":2478},{},[2479],{"type":61,"value":2480},"Auto-detected",{"type":55,"tag":174,"props":2482,"children":2483},{},[2484,2493,2498],{"type":55,"tag":196,"props":2485,"children":2486},{},[2487],{"type":55,"tag":346,"props":2488,"children":2490},{"className":2489},[],[2491],{"type":61,"value":2492},"SmartLink",{"type":55,"tag":196,"props":2494,"children":2495},{},[2496],{"type":61,"value":2497},"Enable smart linking",{"type":55,"tag":196,"props":2499,"children":2500},{},[2501],{"type":55,"tag":346,"props":2502,"children":2504},{"className":2503},[],[2505],{"type":61,"value":2506},"true",{"type":55,"tag":174,"props":2508,"children":2509},{},[2510,2519,2524],{"type":55,"tag":196,"props":2511,"children":2512},{},[2513],{"type":55,"tag":346,"props":2514,"children":2516},{"className":2515},[],[2517],{"type":61,"value":2518},"ForceLoad",{"type":55,"tag":196,"props":2520,"children":2521},{},[2522],{"type":61,"value":2523},"Force load all symbols",{"type":55,"tag":196,"props":2525,"children":2526},{},[2527],{"type":55,"tag":346,"props":2528,"children":2530},{"className":2529},[],[2531],{"type":61,"value":2532},"false",{"type":55,"tag":56,"props":2534,"children":2536},{"id":2535},"resources",[2537],{"type":61,"value":2538},"Resources",{"type":55,"tag":159,"props":2540,"children":2542},{"id":2541},"official-documentation",[2543],{"type":61,"value":2544},"Official Documentation",{"type":55,"tag":70,"props":2546,"children":2547},{},[2548,2559,2569,2579],{"type":55,"tag":74,"props":2549,"children":2550},{},[2551],{"type":55,"tag":517,"props":2552,"children":2556},{"href":2553,"rel":2554},"https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fcommunitytoolkit\u002Fmaui\u002Fnative-library-interop",[2555],"nofollow",[2557],{"type":61,"value":2558},"Native Library Interop - .NET Community Toolkit",{"type":55,"tag":74,"props":2560,"children":2561},{},[2562],{"type":55,"tag":517,"props":2563,"children":2566},{"href":2564,"rel":2565},"https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fmaui\u002Fmigration\u002Fios-binding-projects",[2555],[2567],{"type":61,"value":2568},"iOS Binding Project Migration",{"type":55,"tag":74,"props":2570,"children":2571},{},[2572],{"type":55,"tag":517,"props":2573,"children":2576},{"href":2574,"rel":2575},"https:\u002F\u002Flearn.microsoft.com\u002Fxamarin\u002Fcross-platform\u002Fmacios\u002Fbinding\u002F",[2555],[2577],{"type":61,"value":2578},"Binding Objective-C Libraries",{"type":55,"tag":74,"props":2580,"children":2581},{},[2582],{"type":55,"tag":517,"props":2583,"children":2586},{"href":2584,"rel":2585},"https:\u002F\u002Flearn.microsoft.com\u002Fprevious-versions\u002Fxamarin\u002Fcross-platform\u002Fmacios\u002Fbinding\u002Fobjective-sharpie\u002F",[2555],[2587],{"type":61,"value":2588},"Objective Sharpie",{"type":55,"tag":159,"props":2590,"children":2592},{"id":2591},"tools",[2593],{"type":61,"value":2594},"Tools",{"type":55,"tag":70,"props":2596,"children":2597},{},[2598],{"type":55,"tag":74,"props":2599,"children":2600},{},[2601,2608],{"type":55,"tag":517,"props":2602,"children":2605},{"href":2603,"rel":2604},"https:\u002F\u002Fgithub.com\u002Fyonaskolb\u002FXcodeGen",[2555],[2606],{"type":61,"value":2607},"XcodeGen",{"type":61,"value":2609}," — Generate Xcode projects from YAML specification",{"type":55,"tag":159,"props":2611,"children":2613},{"id":2612},"templates-and-examples",[2614],{"type":61,"value":2615},"Templates and Examples",{"type":55,"tag":70,"props":2617,"children":2618},{},[2619,2629],{"type":55,"tag":74,"props":2620,"children":2621},{},[2622],{"type":55,"tag":517,"props":2623,"children":2626},{"href":2624,"rel":2625},"https:\u002F\u002Fgithub.com\u002FCommunityToolkit\u002FMaui.NativeLibraryInterop",[2555],[2627],{"type":61,"value":2628},"Maui.NativeLibraryInterop Repository",{"type":55,"tag":74,"props":2630,"children":2631},{},[2632],{"type":55,"tag":517,"props":2633,"children":2636},{"href":2634,"rel":2635},"https:\u002F\u002Fgithub.com\u002FCommunityToolkit\u002FMaui",[2555],[2637],{"type":61,"value":2638},"CommunityToolkit.Maui Bindings",{"type":55,"tag":159,"props":2640,"children":2642},{"id":2641},"reference-files",[2643],{"type":61,"value":2644},"Reference Files",{"type":55,"tag":70,"props":2646,"children":2647},{},[2648,2659,2669],{"type":55,"tag":74,"props":2649,"children":2650},{},[2651,2657],{"type":55,"tag":517,"props":2652,"children":2654},{"href":2653},"references\u002Fios-bindings-guide.md",[2655],{"type":61,"value":2656},"ios-bindings-guide.md",{"type":61,"value":2658}," — comprehensive binding reference",{"type":55,"tag":74,"props":2660,"children":2661},{},[2662,2667],{"type":55,"tag":517,"props":2663,"children":2664},{"href":519},[2665],{"type":61,"value":2666},"ios-slim-bindings-implementation.md",{"type":61,"value":2668}," — detailed code examples, troubleshooting, and complete scripts",{"type":55,"tag":74,"props":2670,"children":2671},{},[2672,2674,2679],{"type":61,"value":2673},"For Android bindings, use the ",{"type":55,"tag":151,"props":2675,"children":2676},{},[2677],{"type":61,"value":2678},"android-slim-bindings",{"type":61,"value":2680}," skill",{"type":55,"tag":56,"props":2682,"children":2684},{"id":2683},"output-format",[2685],{"type":61,"value":2686},"Output Format",{"type":55,"tag":64,"props":2688,"children":2689},{},[2690],{"type":61,"value":2691},"When assisting with iOS slim bindings, provide:",{"type":55,"tag":1299,"props":2693,"children":2694},{},[2695,2705,2722,2732,2756,2766],{"type":55,"tag":74,"props":2696,"children":2697},{},[2698,2703],{"type":55,"tag":151,"props":2699,"children":2700},{},[2701],{"type":61,"value":2702},"Project structure",{"type":61,"value":2704}," - File\u002Ffolder layout for the binding",{"type":55,"tag":74,"props":2706,"children":2707},{},[2708,2713,2715,2720],{"type":55,"tag":151,"props":2709,"children":2710},{},[2711],{"type":61,"value":2712},"Swift wrapper code",{"type":61,"value":2714}," - Complete ",{"type":55,"tag":346,"props":2716,"children":2718},{"className":2717},[],[2719],{"type":61,"value":1022},{"type":61,"value":2721}," implementation",{"type":55,"tag":74,"props":2723,"children":2724},{},[2725,2730],{"type":55,"tag":151,"props":2726,"children":2727},{},[2728],{"type":61,"value":2729},"Xcode configuration",{"type":61,"value":2731}," - Build settings and dependency setup",{"type":55,"tag":74,"props":2733,"children":2734},{},[2735,2740,2742,2747,2749,2754],{"type":55,"tag":151,"props":2736,"children":2737},{},[2738],{"type":61,"value":2739},"C# binding project",{"type":61,"value":2741}," - ",{"type":55,"tag":346,"props":2743,"children":2745},{"className":2744},[],[2746],{"type":61,"value":778},{"type":61,"value":2748}," and ",{"type":55,"tag":346,"props":2750,"children":2752},{"className":2751},[],[2753],{"type":61,"value":832},{"type":61,"value":2755}," files",{"type":55,"tag":74,"props":2757,"children":2758},{},[2759,2764],{"type":55,"tag":151,"props":2760,"children":2761},{},[2762],{"type":61,"value":2763},"Usage examples",{"type":61,"value":2765}," - How to call the binding from MAUI\u002FC#",{"type":55,"tag":74,"props":2767,"children":2768},{},[2769,2774],{"type":55,"tag":151,"props":2770,"children":2771},{},[2772],{"type":61,"value":2773},"Troubleshooting guidance",{"type":61,"value":2775}," - Common issues and solutions for the specific library",{"type":55,"tag":64,"props":2777,"children":2778},{},[2779],{"type":61,"value":2780},"Always verify:",{"type":55,"tag":70,"props":2782,"children":2783},{},[2784,2795,2807,2812,2824],{"type":55,"tag":74,"props":2785,"children":2786},{},[2787,2789,2794],{"type":61,"value":2788},"Swift classes have ",{"type":55,"tag":346,"props":2790,"children":2792},{"className":2791},[],[2793],{"type":61,"value":1046},{"type":61,"value":1461},{"type":55,"tag":74,"props":2796,"children":2797},{},[2798,2800,2805],{"type":61,"value":2799},"Methods have ",{"type":55,"tag":346,"props":2801,"children":2803},{"className":2802},[],[2804],{"type":61,"value":1066},{"type":61,"value":2806}," annotations matching Objective-C conventions",{"type":55,"tag":74,"props":2808,"children":2809},{},[2810],{"type":61,"value":2811},"Types are marshallable between Swift and C#",{"type":55,"tag":74,"props":2813,"children":2814},{},[2815,2817,2822],{"type":61,"value":2816},"Async operations use completion handlers with ",{"type":55,"tag":346,"props":2818,"children":2820},{"className":2819},[],[2821],{"type":61,"value":1182},{"type":61,"value":2823}," attribute",{"type":55,"tag":74,"props":2825,"children":2826},{},[2827,2829,2834],{"type":61,"value":2828},"Error handling uses ",{"type":55,"tag":346,"props":2830,"children":2832},{"className":2831},[],[2833],{"type":61,"value":1096},{"type":61,"value":2835}," for proper propagation",{"type":55,"tag":2837,"props":2838,"children":2839},"style",{},[2840],{"type":61,"value":2841},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2843,"total":2940},[2844,2861,2874,2888,2905,2913,2929],{"slug":2678,"name":2678,"fn":2845,"description":2846,"org":2847,"tags":2848,"stars":28,"repoUrl":29,"updatedAt":2860},"create Android slim bindings for .NET","Create Android slim bindings for MAUI\u002F.NET Android. USE FOR: slim Android binding, Kotlin\u002FJava wrappers, build.gradle.kts, Maven, AAR\u002FJAR, AndroidMavenLibrary, AndroidLibrary, @JvmStatic, XA4241\u002FXA4242, Xamarin.AndroidX\u002FKotlin NuGets. DO NOT USE FOR: iOS\u002FmacOS bindings, general MAUI apps, or NuGet packaging.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2849,2850,2852,2855,2858],{"name":20,"slug":21,"type":15},{"name":2851,"slug":35,"type":15},"Android",{"name":2853,"slug":2854,"type":15},"Java","java",{"name":2856,"slug":2857,"type":15},"Kotlin","kotlin",{"name":2859,"slug":40,"type":15},"Mobile","2026-07-12T08:22:54.006105",{"slug":2862,"name":2862,"fn":2863,"description":2864,"org":2865,"tags":2866,"stars":28,"repoUrl":29,"updatedAt":2873},"devflow-automation","automate .NET MAUI app state","Automate MAUI app state through DevFlow Actions. USE FOR: `[DevFlowAction]` shortcuts, login, seed data, deep screens. DO NOT USE FOR: arbitrary methods, DI internals, UI MCP tools, connectivity, or build\u002Fdeploy issues.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2867,2868,2871,2872],{"name":20,"slug":21,"type":15},{"name":2869,"slug":2870,"type":15},"Automation","automation",{"name":13,"slug":14,"type":15},{"name":2859,"slug":40,"type":15},"2026-07-12T08:22:56.616564",{"slug":2875,"name":2875,"fn":2876,"description":2877,"org":2878,"tags":2879,"stars":28,"repoUrl":29,"updatedAt":2887},"devflow-connect","diagnose DevFlow agent connectivity issues","Diagnose DevFlow agent connectivity. USE FOR: `maui devflow` connection failures, agent not found, ports, adb forwarding, broker. DO NOT USE FOR: build failures, setup, visual tree, or Blazor CDP.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2880,2883,2884],{"name":2881,"slug":2882,"type":15},"Debugging","debugging",{"name":13,"slug":14,"type":15},{"name":2885,"slug":2886,"type":15},"Networking","networking","2026-07-12T08:22:48.847431",{"slug":2889,"name":2889,"fn":2890,"description":2891,"org":2892,"tags":2893,"stars":28,"repoUrl":29,"updatedAt":2904},"dotnet-workload-info","discover MAUI workload metadata","Discover MAUI workload metadata from live NuGet APIs. USE FOR: workload manifest lookup, WorkloadDependencies.json, v3-flatcontainer, CLI-to-NuGet version conversion, Xcode\u002FJDK\u002FAndroid SDK requirements, CI sdkmanager packages, `packageid:Microsoft.Maui.Controls`. DO NOT USE FOR: installing workloads, build debugging, or app version edits.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2894,2897,2900,2903],{"name":2895,"slug":2896,"type":15},"C#","csharp",{"name":2898,"slug":2899,"type":15},"CLI","cli",{"name":2901,"slug":2902,"type":15},"Engineering","engineering",{"name":13,"slug":14,"type":15},"2026-07-12T08:22:46.318953",{"slug":4,"name":4,"fn":5,"description":6,"org":2906,"tags":2907,"stars":28,"repoUrl":29,"updatedAt":30},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2908,2909,2910,2911,2912],{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"name":23,"slug":24,"type":15},{"name":26,"slug":27,"type":15},{"slug":2914,"name":2914,"fn":2915,"description":2916,"org":2917,"tags":2918,"stars":28,"repoUrl":29,"updatedAt":2928},"maui-accessibility","implement accessibility in .NET MAUI apps","Make .NET MAUI apps accessible with semantic properties, screen reader labels\u002Fhints, heading levels, focus, announcements, AutomationProperties, touch targets, and platform checks. USE FOR: accessibility audits, WCAG UI fixes, TalkBack\u002FVoiceOver\u002FNarrator behavior, SemanticProperties.Description\u002FHint\u002FHeadingLevel, SemanticScreenReader.Announce, SetSemanticFocus, avoiding redundant Label metadata, hiding decorative content with IsInAccessibleTree=false, and CollectionView row semantics. DO NOT USE FOR: general layout, UI automation only, or performance tuning.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2919,2920,2923,2924,2925],{"name":20,"slug":21,"type":15},{"name":2921,"slug":2922,"type":15},"Accessibility","accessibility",{"name":13,"slug":14,"type":15},{"name":2859,"slug":40,"type":15},{"name":2926,"slug":2927,"type":15},"WCAG","wcag","2026-07-12T08:22:17.823583",{"slug":2930,"name":2930,"fn":2931,"description":2932,"org":2933,"tags":2934,"stars":28,"repoUrl":29,"updatedAt":2939},"maui-ai-debugging","debug .NET MAUI application issues","Legacy DevFlow debug skill. USE FOR: `maui-ai-debugging`, `maui devflow`, screenshots, visual tree, Blazor CDP, simulator\u002Femulator debugging. DO NOT USE FOR: setup, desktop automation, AppleScript, host `xdotool`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2935,2936,2937,2938],{"name":20,"slug":21,"type":15},{"name":2881,"slug":2882,"type":15},{"name":13,"slug":14,"type":15},{"name":2859,"slug":40,"type":15},"2026-07-12T08:22:52.634889",32,{"items":2942,"total":3098},[2943,2957,2972,2984,3000,3014,3032,3042,3054,3064,3077,3088],{"slug":2944,"name":2944,"fn":2945,"description":2946,"org":2947,"tags":2948,"stars":2954,"repoUrl":2955,"updatedAt":2956},"multithreaded-task-migration","migrate MSBuild tasks to multithreaded mode","Guide for migrating MSBuild tasks to multithreaded mode support, including compatibility red-team review. Use this when converting tasks to thread-safe versions, implementing IMultiThreadableTask, adding TaskEnvironment support, or auditing migrations for behavioral compatibility.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2949,2950,2951],{"name":20,"slug":21,"type":15},{"name":2901,"slug":2902,"type":15},{"name":2952,"slug":2953,"type":15},"Performance","performance",5535,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fmsbuild","2026-07-22T05:37:33.965588",{"slug":2958,"name":2958,"fn":2959,"description":2960,"org":2961,"tags":2962,"stars":2969,"repoUrl":2970,"updatedAt":2971},"analyzing-dotnet-performance","analyze .NET code for performance anti-patterns","Scans .NET code for ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I\u002FO with tiered severity classification. Use when analyzing .NET code for optimization opportunities, reviewing hot paths, or auditing allocation-heavy patterns.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2963,2964,2967,2968],{"name":20,"slug":21,"type":15},{"name":2965,"slug":2966,"type":15},"Code Analysis","code-analysis",{"name":2881,"slug":2882,"type":15},{"name":2952,"slug":2953,"type":15},4576,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fskills","2026-07-12T08:23:25.400375",{"slug":2973,"name":2973,"fn":2974,"description":2975,"org":2976,"tags":2977,"stars":2969,"repoUrl":2970,"updatedAt":2983},"android-tombstone-symbolication","symbolicate .NET runtime frames in Android tombstones","Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app crash from a tombstone, resolving native backtrace frames in libmonosgen-2.0.so or libcoreclr.so to .NET runtime source code, or investigating SIGABRT, SIGSEGV, or other native signals originating from the .NET runtime on Android. DO NOT USE FOR pure Java\u002FKotlin crashes, managed .NET exceptions that are already captured in logcat, or iOS crash logs. INVOKES Symbolicate-Tombstone.ps1 script, llvm-symbolizer, Microsoft symbol server.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2978,2979,2980,2981],{"name":20,"slug":21,"type":15},{"name":2851,"slug":35,"type":15},{"name":2881,"slug":2882,"type":15},{"name":2982,"slug":39,"type":15},"Microsoft","2026-07-12T08:23:21.595572",{"slug":2985,"name":2985,"fn":2986,"description":2987,"org":2988,"tags":2989,"stars":2969,"repoUrl":2970,"updatedAt":2999},"apple-crash-symbolication","symbolicate .NET runtime frames in crash logs","Symbolicate .NET runtime frames in Apple platform .ips crash logs (iOS, tvOS, Mac Catalyst, macOS). Extracts UUIDs and addresses from the native backtrace, locates dSYM debug symbols, and runs atos to produce function names with source file and line numbers. Automatically downloads .dwarf symbols from the Microsoft symbol server using Mach-O UUIDs. USE FOR triaging a .NET MAUI or Mono app crash from an .ips file on any Apple platform, resolving native backtrace frames in libcoreclr or libmonosgen-2.0 to .NET runtime source code, retrieving .ips crash logs from a connected iOS device or iPhone, or investigating EXC_CRASH, EXC_BAD_ACCESS, SIGABRT, or SIGSEGV originating from the .NET runtime. DO NOT USE FOR pure Swift\u002FObjective-C crashes with no .NET components, or Android tombstone files. INVOKES Symbolicate-Crash.ps1 script, atos, dwarfdump, idevicecrashreport.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2990,2991,2992,2993,2996],{"name":20,"slug":21,"type":15},{"name":2881,"slug":2882,"type":15},{"name":17,"slug":18,"type":15},{"name":2994,"slug":2995,"type":15},"macOS","macos",{"name":2997,"slug":2998,"type":15},"Observability","observability","2026-07-12T08:23:20.369986",{"slug":3001,"name":3001,"fn":3002,"description":3003,"org":3004,"tags":3005,"stars":2969,"repoUrl":2970,"updatedAt":3013},"assertion-quality","evaluate assertion quality in test suites","Analyzes the variety and depth of assertions across test suites in any language. Use when the user asks to evaluate assertion quality, find shallow tests, identify assertion-free tests (no assertions or only trivial ones like Assert.IsNotNull \u002F toBeTruthy()), flag self-referential or tautological assertions, measure assertion diversity, or audit whether tests verify different facets of behavior. Polyglot: .NET, Python, TS\u002FJS, Java, Go, Ruby, Rust, Swift, Kotlin, PowerShell, C++. DO NOT USE FOR: writing new tests (use code-testing-agent \u002F writing-mstest-tests), mutation reasoning about whether tests would catch a bug (use test-gap-analysis), or a general severity-ranked anti-pattern audit (use test-anti-patterns), fixing or rewriting assertions, or writing, fixing, or modernizing MSTest tests, assertions, or attributes (use writing-mstest-tests).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3006,3007,3010],{"name":2965,"slug":2966,"type":15},{"name":3008,"slug":3009,"type":15},"QA","qa",{"name":3011,"slug":3012,"type":15},"Testing","testing","2026-07-12T08:23:51.277743",{"slug":3015,"name":3015,"fn":3016,"description":3017,"org":3018,"tags":3019,"stars":2969,"repoUrl":2970,"updatedAt":3031},"author-component","create and review Blazor components","Create or review Blazor components (.razor files) with correct architecture. USE FOR: writing new Blazor components that do NOT involve JavaScript interop, implementing parameters and EventCallback, RenderFragment slots, component lifecycle (OnInitializedAsync, OnParametersSet), async patterns, IAsyncDisposable, CancellationToken, CSS isolation, code-behind. DO NOT USE FOR: creating new projects (use create-blazor-project), JavaScript interop or calling browser APIs from Blazor (use use-js-interop), forms and validation (use collect-user-input), prerendering issues (use support-prerendering), HTTP data fetching patterns (use fetch-and-send-data), coordinating state between unrelated components (use coordinate-components).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3020,3021,3024,3025,3028],{"name":20,"slug":21,"type":15},{"name":3022,"slug":3023,"type":15},"Blazor","blazor",{"name":2895,"slug":2896,"type":15},{"name":3026,"slug":3027,"type":15},"UI Components","ui-components",{"name":3029,"slug":3030,"type":15},"Web Development","web-development","2026-07-15T06:03:29.216359",{"slug":3033,"name":3033,"fn":3034,"description":3035,"org":3036,"tags":3037,"stars":2969,"repoUrl":2970,"updatedAt":3041},"binlog-failure-analysis","analyze MSBuild binary logs","Analyze MSBuild binary logs to diagnose build failures. USE FOR: build errors that are unclear from console output, diagnosing cascading failures across multi-project builds, tracing MSBuild target execution order, and generally any MSBuild build issues. Requires an existing .binlog file. DO NOT USE FOR: generating binlogs (use binlog-generation), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3038,3039,3040],{"name":2965,"slug":2966,"type":15},{"name":2881,"slug":2882,"type":15},{"name":2982,"slug":39,"type":15},"2026-07-12T08:21:34.637923",{"slug":3043,"name":3043,"fn":3044,"description":3045,"org":3046,"tags":3047,"stars":2969,"repoUrl":2970,"updatedAt":3053},"binlog-generation","generate MSBuild binary logs for diagnostics","Generate MSBuild binary logs (binlogs) for build diagnostics and analysis. USE FOR: adding \u002Fbl:{} to any dotnet build, test, pack, publish, or restore command to capture a full build execution trace, prerequisite for binlog-failure-analysis and build-perf-diagnostics skills, enabling post-build investigation of errors or performance. Requires MSBuild 17.8+ \u002F .NET 8 SDK+ for {} placeholder; PowerShell needs -bl:{{}}. DO NOT USE FOR: non-MSBuild build systems (npm, Maven, CMake), analyzing an existing binlog (use binlog-failure-analysis instead).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3048,3051,3052],{"name":3049,"slug":3050,"type":15},"Build","build",{"name":2881,"slug":2882,"type":15},{"name":2901,"slug":2902,"type":15},"2026-07-19T05:38:19.340791",{"slug":3055,"name":3055,"fn":3056,"description":3057,"org":3058,"tags":3059,"stars":2969,"repoUrl":2970,"updatedAt":3063},"build-parallelism","optimize MSBuild build parallelism","Diagnose and fix under-parallelized MSBuild builds. USE WHEN a multi-project solution build is slower than expected, doesn't speed up when you add cores, pegs a single core while others idle, or you want to know why `-m` isn't helping. Note: `\u002Fmaxcpucount` default is 1 (sequential) — always pass `-m` for parallel builds. Covers finding the critical path (longest serial ProjectReference chain), graph build (`\u002Fgraph`), BuildInParallel, and solution filters (`.slnf`). DO NOT USE FOR: single-project builds, incremental issues (use incremental-build), compilation slowness inside one project (use build-perf-diagnostics), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3060,3061,3062],{"name":20,"slug":21,"type":15},{"name":2901,"slug":2902,"type":15},{"name":2952,"slug":2953,"type":15},"2026-07-19T05:38:18.364937",{"slug":3065,"name":3065,"fn":3066,"description":3067,"org":3068,"tags":3069,"stars":2969,"repoUrl":2970,"updatedAt":3076},"build-perf-baseline","establish and optimize build performance baselines","Establish build performance baselines and apply systematic optimization techniques. USE FOR: diagnosing slow builds, establishing before\u002Fafter measurements (cold, warm, no-op scenarios), applying optimization strategies like MSBuild Server, static graph builds, artifacts output, and dependency graph trimming. Start here before diving into build-perf-diagnostics, incremental-build, or build-parallelism. DO NOT USE FOR: non-MSBuild build systems, detailed bottleneck analysis (use build-perf-diagnostics after baselining).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3070,3071,3074,3075],{"name":2901,"slug":2902,"type":15},{"name":3072,"slug":3073,"type":15},"Monitoring","monitoring",{"name":2952,"slug":2953,"type":15},{"name":3011,"slug":3012,"type":15},"2026-07-12T08:21:35.865649",{"slug":3078,"name":3078,"fn":3079,"description":3080,"org":3081,"tags":3082,"stars":2969,"repoUrl":2970,"updatedAt":3087},"build-perf-diagnostics","diagnose MSBuild build performance bottlenecks","Diagnose MSBuild build performance bottlenecks using binary log analysis. USE FOR: identifying why builds are slow by analyzing binlog performance summaries, detecting ResolveAssemblyReference (RAR) taking >5s, Roslyn analyzers consuming >30% of Csc time, single targets dominating >50% of build time, node utilization below 80%, excessive Copy tasks, NuGet restore running every build. Covers timeline analysis, Target\u002FTask Performance Summary interpretation, and 7 common bottleneck categories. Use after build-perf-baseline has established measurements. DO NOT USE FOR: establishing initial baselines (use build-perf-baseline first), fixing incremental build issues (use incremental-build), parallelism tuning (use build-parallelism), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3083,3084,3085,3086],{"name":20,"slug":21,"type":15},{"name":2881,"slug":2882,"type":15},{"name":2901,"slug":2902,"type":15},{"name":2952,"slug":2953,"type":15},"2026-07-12T08:21:40.961722",{"slug":3089,"name":3089,"fn":3090,"description":3091,"org":3092,"tags":3093,"stars":2969,"repoUrl":2970,"updatedAt":3097},"check-bin-obj-clash","detect MSBuild output path conflicts","Detects MSBuild projects with conflicting OutputPath or IntermediateOutputPath. USE FOR: builds failing with 'Cannot create a file when that file already exists', 'The process cannot access the file because it is being used by another process', intermittent build failures that succeed on retry, or missing\u002Foverwritten outputs in multi-project or multi-targeting builds where bin\u002Fobj (or project.assets.json) collide. Common causes: shared OutputPath, missing AppendTargetFrameworkToOutputPath, extra global properties (e.g. PublishReadyToRun), or SetTargetFramework on a ProjectReference to a single-targeting project. DO NOT USE FOR: file access errors unrelated to MSBuild (OS-level locking), single-project single-TFM builds, non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3094,3095,3096],{"name":2881,"slug":2882,"type":15},{"name":2901,"slug":2902,"type":15},{"name":3008,"slug":3009,"type":15},"2026-07-19T05:38:14.336279",144]