[Mono-osx] [ANN] mcocoa 0.3 and mobjc 0.4

Jesse Jones jesjones at mindspring.com
Wed Nov 19 00:17:08 EST 2008

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 other libraries mobjc properly handles exceptions arising  
in both managed and native code.

The libraries can be found at <http://code.google.com/p/mcocoa/> and <http://code.google.com/p/mobjc/ 

Changes to mcocoa include:
* mcocoa now uses a fast path for around 80% of the generated methods.  
This speeds up those methods by between 5x and 7x.
* The generated methods now use argument types like "out int" for  
native methods which have argument types like "int *" instead of  
simply using IntPtr.
* Improved the Natty sample app quite a bit.

Changes to mobjc include:
* Renamed IVar IBOutlet.
* Optimized object creation and a few other commonly used methods.
* Fixed the registration of types so that we look at the attributes on  
the type alone, not the type and its bases.
* Type registration was not sorting the types quite right so it failed  
with complex exported hierarchies.
* Replaced DBC asserts with Trace.Assert. Unfortunately Trace.Assert  
defaults to doing nothing on Mono. To get asserts to throw you can  
call the new AssertListener.Install method.

   -- Jesse

More information about the Mono-osx mailing list