[Mono-osx] [ANN] mcocoa & mobjc libraries

Jesse Jones jesjones at mindspring.com
Tue Oct 28 19:31:17 EDT 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. These libraries are relatively efficient and unlike similar  
libraries properly handle exceptions in both directions. (These  
libraries were formerly called cocoa3-sharp and objc3-sharp).

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

mcocoa has been completely rewritten: instead of a handful of  
experimental hand-written wrappers the wrappers are now generated  
directly from Apple's headers.

mobjc has been simplified quite a bit: the support for formatted  
method calls has been removed, Call methods return System.Object  
instead of Untyped, methods are decorated with the existing  
RegisterAttribute instead of NewMethodAttribute and  
OverrideMethodAttribute, public nullary/unary methods which start with  
a lower case letter are automatically registered, and the typing of  
values passed between managed and native code is not as forgiving.

   -- Jesse


More information about the Mono-osx mailing list