• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: C Sharp?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C Sharp?


  • Subject: Re: C Sharp?
  • From: Jonathan Mitchell <email@hidden>
  • Date: Tue, 14 Jul 2015 19:49:18 +0100

> On 14 Jul 2015, at 18:48, Dave <email@hidden> wrote:
>
> Hi,
>
> Does anyone know of a tool/framework that allows C# code to be compiled and called from Cocoa?
You could check out Dubrovnik.

https://github.com/ThesaurusSoftware/Dubrovnik

The solution includes a code generator that produces (via reflection) Obj-C bindings to your managed code that you then link into your Cocoa project.
The repo includes some a couple of small projects and unit tests.

The core bindings to .NET objects are not fully implemented but there is a genuinely usable set of stuff here.
I am currently using it to port a moderately complex WPF .NET entityframework powered app to OS X (which is currently in public beta)
And it all hangs together remarkably well!

It includes support for generics, managed events and Cocoa bindings (KVC change notifications are driven directly from INotifyPropertyChanging/INotifyPropertyChanged)

Jonathan

>
> All the Best
> Dave
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: C Sharp?
      • From: Dave <email@hidden>
References: 
 >C Sharp? (From: Dave <email@hidden>)

  • Prev by Date: Re: C Sharp?
  • Next by Date: Re: Unable to connect IBOutlet in Swift Xcode 7b2
  • Previous by thread: Re: C Sharp?
  • Next by thread: Re: C Sharp?
  • Index(es):
    • Date
    • Thread