[prev in list] [next in list] [prev in thread] [next in thread]
List: mono-osx
Subject: Re: [Mono-osx] objc-sharp is what I need,
From: Stifu <stifu () free ! fr>
Date: 2010-04-29 9:11:05
Message-ID: 1272532265428-2075192.post () n4 ! nabble ! com
[Download RAW message or body]
Hi,
I think you may want to look into MonoMac instead:
http://tirania.org/blog/archive/2010/Apr-19.html
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.
_______________________________________________
Mono-osx mailing list
Mono-osx@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-osx
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic