Under the Hood

PDF for offline use

Let us know how you feel about this

Translation Quality


0/250

last updated: 2017-11

A peek at the inner workings of Xamarin.Mac

Ahead of Time Compilation (AOT)

Ahead of Time (AOT) compilation is a powerful optimization technique for improving startup performance. However, it also affects your build time, application size, and program execution in profound ways, so it's worthwhile understanding how it works.

Mac Architecture

Xamarin.Mac's relationship to Objective-C, including concepts such as compilation, selectors, registrars, app launch, and the generator.

Xamarin.Mac Registrar

Xamarin.Mac bridges the gap between the managed world and Cocoa's runtime, allowing managed classes to call unmanaged Objective-C classes and be called back when events occur. The work required to preform this “magic” is handled by the Registrar, but understanding what's going on "under the hood" can sometimes be helpful.

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.