[Mono-osx] Delphi Prism and all those Cocoa bridges
mh at elitedev.com
Wed Feb 25 09:06:57 EST 2009
> Quick question:
> How does Prism interact with the Monobjc dlls? Where does it get
> them? Does
> it add them to Monobjc-based projects?
same as C# would - you add them as references to your project
> And how does Prism handle projects that are supposed to have some
> files in
> common (non-GUI) and some not (GUI controllers)?
basically, you'd create three separate projects - a dll with shared
code, and then two front-end .exes, one of which would provide WPF or
WinForms UI, the other Cocoa with Monobjc. If properly abstracted, the
two exes can be pure presentation layer, with all the business logic
being in the shared dll.
as mentioned before, one thing i got the idea of looking into,
yesterday, was to create a sample that uses the MVVM pattern with WPF
and Cocoa frontend - using a smart aspect to provide the property
binding as needed. lets' see when i'll find the time to look at that ;)
More information about the Mono-osx