[Mono-osx] [ANN] NObjective 0.9.0 Released

Eugeny Grishul eugeny.grishul at gmail.com
Mon Dec 15 01:04:13 EST 2008


Hello, 

I'm happy to present a new release of NObjective bridge. 
NObjective is a high-performance low-level bridge from Mono to Objective-C
runtime. 
Also it provides C# automatically generated proxies around all Objective-C
classes. 

This release brings integration with NObjectiveAST library. 
I haven't found any open source C# library that able to parse ( like
NRefactory does ) and evaluate Objective-C code so 
http://code.google.com/p/nobjectiveast/ was created. Now not only objc
proxies can be generated but also structs and enums used in marshaling.
Working with ugly Objective-C runtime never been so easy! The only
restriction that is proxies cannot be boxed and code like 
Console.WriteLine( "{0}", NSApplication.sharedApplication() );
will crash app with messages like that:

Stacktrace:
  at (wrapper managed-to-native)
System.Object.__icall_wrapper_mono_object_isinst (object,intptr) <0x00004>
  at (wrapper managed-to-native)
System.Object.__icall_wrapper_mono_object_isinst (object,intptr)
<0xffffffff>
  at (wrapper stelemref) System.Object.stelemref (object,intptr,object)
<0xffffffff>
  at System.String.Format (string,object) <0x0002f>
...
So write your code without boxing while mono has such bug:
Console.WriteLine( "{0}", NSApplication.sharedApplication().ToString() );


See performance bechmark results: 
http://code.google.com/p/objcmapper/

And don't forget to download it: 
http://code.google.com/p/objcmapper/downloads/list

WBR, 
Eugeny Grishul.
-- 
View this message in context: http://www.nabble.com/-ANN--NObjective-0.9.0-Released-tp21008729p21008729.html
Sent from the Mono - OSX mailing list archive at Nabble.com.



More information about the Mono-osx mailing list