This section includes a variety of documents that cover creating bindings to Objective-C libraries, so they can be called from C# applications created with Xamarin.iOS or Xamarin.Mac.
This document contains some of the internals of how a binding takes place. It is an advanced document with some technical information.
This document describes the process used to create C# bindings of Objective-C APIs and how the idioms in Objective-C are mapped to the idioms used in .NET. If you are binding just C APIs, you should use the standard .NET mechanism for this, the P/Invoke framework.
This is the reference guide that describes all of the attributes available to binding authors to drive the binding generation process.
Objective Sharpie is a command line tool to help bootstrap the first pass of a binding. It works by parsing the header files of a native library to map the public API into the binding definition (a process that can also be done manually).
The iOS binding page links back to these common binding resources, in addition to the examples below.
This article provides a step-by-step walkthrough of creating a binding project using the open source InfColorPicker Objective-C project as an example. The InfColorPicker library provides a reusable view controller that allow the user to select a color based on its HSB representation, making color selection more user-friendly. Objective Sharpie will be used to assist in the binding process.
A collection of third-party bindings that can be used as reference when creating new Binding Projects.
Send feedback about: