[Mono-osx] Mono 2.6 and Windows.Forms on MacOSX
Stefan Csomor
csomor at advancedconcepts.ch
Wed Dec 30 06:26:49 EST 2009
Hi
> But my greatest need is for some expert
> advice on Mono, the Cocoa framework, bridging them, and advanced Mac
> programming.
as for the native bridging part and the impedance mismatch between
frameworks, you could look at how SWT, Qt or wxWidgets do it, I've ported
the latter over the last 12 years on many incarnations of MacOS(X) (even the
ill-fated Carbon64 ;-) and now Cocoa, and I will try to answer questions you
have
FWIW I've done the routing from the native 'event' methods like drawRect etc
to our events by modifying the class table for all subclasses (in order to
avoid eons of overrides), perhaps this can give you some ideas:
http://trac.wxwidgets.org/browser/wxWidgets/trunk/src/osx/cocoa/window.mm
I was inspired by the pyobjc runtime approach
HTH,
Stefan Csomor
More information about the Mono-osx
mailing list