What problem does it solve?
Slim iOS bindings eliminate the pain of maintaining large, fragile binding surfaces by letting you expose only the iOS APIs you need through a thin Swift/Objective-C wrapper.
Core Features & Use Cases
- Create iOS Native Library Interop (Slim Bindings): Build a small Swift/Objective-C wrapper that bridges a native iOS library to .NET using Native Library Interop concepts.
- Generate C# APIs from the wrapper: Use the generated Swift header and Objective Sharpie to produce
ApiDefinition.cs, then adjust attributes for correctness and async support.
- Integrate real dependencies: Support CocoaPods, Swift Package Manager, or manual
xcframework inclusion so your wrapper can call the native library reliably.
- Update safely when SDKs change: Regenerate and diff the binding definitions while preserving your intentional attribute fixes.
Quick Start
Use the ios-slim-bindings skill to generate a Swift wrapper plus the corresponding C# ApiDefinition.cs for your iOS library using the Native Library Interop workflow.