[Mono-osx] objc-sharp is what I need, I think. Not interesting to others ?

Stifu stifu at free.fr
Thu Apr 29 05:11:05 EDT 2010


I think you may want to look into MonoMac instead:

maczentric wrote:
> Hi,
> Porting to Mac a .NET app.
> I'm doing the GUI in cocoa Xcode IBuilder. All logic is C# .NET.
> I think objc-sharp is what I need. But it fails right in the finish line.
> I thought there would be many using objc-sharp but it doesn't look like.
> The code has just been moved to "Old".
> I have my .NET code in as a dll, I have the objc-sharp dll for the bridge
> ..
> but the Class that I get does not respond to the methods:
> *** +[StaticTestLibrary.StaticTests StaticMethod]: unrecognized selector
> sent to class 0x12af420
> Is anyone using it successfully ?
> 		id bridge = [ObjCSharpBridge alloc];
> 		[bridge init];
> 		NSString *dllAssemblyPath = [[[NSBundle mainBundle] bundlePath]
> stringByAppendingPathComponent:@"Contents/Frameworks/Test.dll"];
> 		[bridge loadAssembly: (char*)[dllAssemblyPath UTF8String]];
> 		Class TestClass = [bridge getClass: "StaticTestLibrary.StaticTests"];
> TestClass does not accept any call.
> Thanks.

View this message in context: http://mono.1490590.n4.nabble.com/objc-sharp-is-what-I-need-I-think-Not-interesting-to-others-tp2075151p2075192.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list