objc-to-csharp-binding

Community

Translate ObjC to C# bindings.

Authordalexsoto
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the complex and error-prone process of translating Objective-C header files into C# binding definitions required for .NET for iOS (Xamarin.iOS / MAUI).

Core Features & Use Cases

  • API Contract Generation: Creates ApiDefinition.cs and StructsAndEnums.cs files.
  • Comprehensive Mapping: Handles classes, protocols, properties, methods, enums, structs, extern constants, and categories.
  • Attribute Generation: Correctly applies [BaseType], [Export], [Protocol], [Model], [NullAllowed], [Field], [DesignatedInitializer], [Notification], and more.
  • Use Case: You have a large Objective-C library and need to create C# bindings for use in a .NET MAUI application. This Skill will parse the headers and generate the necessary C# binding code.

Quick Start

Use the objc-to-csharp-binding skill to generate C# bindings from the provided Objective-C header file 'MyClass.h'.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: objc-to-csharp-binding
Download link: https://github.com/dalexsoto/NSSharp/archive/main.zip#objc-to-csharp-binding

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.