8 apr 2008 kl. 08.32 skrev Johan Kullbom:

6 apr 2008 kl. 17.08 skrev Laurent Etiemble:

- how to expose F# construct to Monobjc ?

As far as I understand it F# compiles member functions and "free" functions to IL that in C#/VB would be seen as static methods.

I think that it would be possible to tweak the way the attributes ObjectiveCClass, ObjectiveCField and ObjectiveCMessage are treated by the ProxyGenerator.

(When I tried to use CocoaSharp together with F# the only problem seemed to be the binding-issues above. Actually running an application was no problem. )

I seems like everything works just fine as it is. No need at all for anything special ... I have almost rewritten the ToolbarSample in F# and so far things works just fine.

F# is (seems to be - the sample is not completely rewritten yet) able to compile standard .Net classes as far as Monobjc is concerned...

Johan Kullbom

Reply via email to