Using objc2-sharp

View: New views
3 Messages — Rating Filter:   Alert me  

Using objc2-sharp

by Sebastian Mauer-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello there,

I'm currently porting my application to be able to run smooth on MacOS X
aswell and it seems I have to reimplement some function within native
Object-C. Am I right that objc2-sharp could help me interface with this new
Objective-C Assembly?

Unfortunately I was not able to find any sample on using objc2-sharp to
load, instantiante and use a class within Objective-C.

Can someone help me?

Greetings,

Sebastian Mauer

_______________________________________________
Mono-osx mailing list
Mono-osx@...
http://lists.ximian.com/mailman/listinfo/mono-osx

Re: Using objc2-sharp

by Geoff Norton-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sebastian,

On 16-Apr-08, at 3:48 PM, Sebastian Mauer wrote:

> I'm currently porting my application to be able to run smooth on  
> MacOS X
> aswell and it seems I have to reimplement some function within native
> Object-C. Am I right that objc2-sharp could help me interface with  
> this new
> Objective-C Assembly?

It depends exactly what you want to do.  Do you need to use objective-
c classes in a mono application, or do you need to use .net classes in  
a objective-c application?  They're both possible, but a little  
different.

-g

_______________________________________________
Mono-osx mailing list
Mono-osx@...
http://lists.ximian.com/mailman/listinfo/mono-osx

Re: Using objc2-sharp

by duanew :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Geoff... this is what I am trying to do.  Have an Objective-C application call a C# library.  I cannot find any examples of this.  I want the ObjC app to run, then load my C# library and access its classes and objects.  This appears to be the intent of the original objc-sharp project, but it appears to no longer be in use.

Any help pointing in the right direction would be greatly appreciated.

Duane
Geoff Norton-2 wrote:
Sebastian,

On 16-Apr-08, at 3:48 PM, Sebastian Mauer wrote:

> I'm currently porting my application to be able to run smooth on  
> MacOS X
> aswell and it seems I have to reimplement some function within native
> Object-C. Am I right that objc2-sharp could help me interface with  
> this new
> Objective-C Assembly?

It depends exactly what you want to do.  Do you need to use objective-
c classes in a mono application, or do you need to use .net classes in  
a objective-c application?  They're both possible, but a little  
different.

-g

_______________________________________________
Mono-osx mailing list
Mono-osx@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-osx