Leauki
unread,Jan 18, 2008, 2:03:49 PM1/18/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cocoa-sharp-dev
Turns out that using a few #define and #if, #else, and #endif
statements Visual Studio can be used to develop a single code base for
Windows Forms and Cocoa#.
Yes, I know it's obvious, but I tried it anyway.
I'll post a tutorial together with the QuickInfo example this weekend.
The Makefile should then contain a -define argument for mcs to set
COCOA.
And adding #COCOA to the beginning of a file one edits will de-
emphasise the Winforms code and emphasise the Cocoa# code. That is
very convenient.
I'll post the example later this weekend, have to hurry to shul
now. :-)