[Mono-osx] [ANN] mcocoa 0.7 and mobjc 0.8
jesjones at mindspring.com
Wed Dec 30 01:34:44 EST 2009
mcocoa provides C# wrappers around nearly all of Apple's Foundation and AppKit frameworks. mobc is a bridge between Mono and Objective-C. Together these libraries allow you to write Cocoa applications using Mono. Unlike most other libraries mobjc properly handles exceptions arising in both managed and native code.
The libraries can be found at:
Changes to mcocoa include:
* Updated to work with Snow Leopard.
* Added hand-written versions of most of the foundation and appkit methods that take function pointers.
* Added hand-written versions of about half the foundation and appkit methods that take blocks.
* Instead of omitting deprecated methods from the generated code we now decorate them using ObsoleteAttribute.
* Added an example which uses the quartz framework.
Changes to mobjc include:
* Added support for Objective-C blocks.
* Static methods can now be registered with custom types. This works just like regular methods: the static method is registered if it starts with a lower case letter or if the method (instead of just the type) is decorated with RegisterAttribute.
* SuperCall now takes a (super) class argument.
* The exception message used when a method cannot be found was not properly including the type name.
* Fixed the top call in the sample app so that it works on snow leopard.
More information about the Mono-osx