This is a sample ported from Swift which draws text on a custom view using NSLayoutManager.
OS X 10.10+
Xamarin port changes are released under the MIT license
Ported to Xamarin.Mac by Chris Hamons
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies