Binding Mac Libraries

PDF for offline use
Related Links:

Let us know how you feel about this

Translation Quality


last updated: 2017-01


Binding Projects for Xamarin.Mac are currently in preview for Xamarin Studio on macOS (formerly known as OS X). Visit the forums to download the preview.

Follow these links to learn about binding Objective-C libraries for Xamarin.iOS and Xamarin.Mac:

Objective Sharpie

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 is otherwise done manually). Objective Sharpie does not create a binding by itself, but it can help get you started!


Refer to the XMBindingExample Mac sample to learn how to manually create a Mac binding.

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.