Cross Platform UI - Using WinForm for Windows and Cocoa for Mac

View: New views
2 Messages — Rating Filter:   Alert me  

Cross Platform UI - Using WinForm for Windows and Cocoa for Mac

by Yoav HaCohen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have a WinForm application which I want to port to MacOSX.

I want to write a different UI layers for Windows and Mac to supply a native user experience in each of the platforms.

I wrote my WinForm code using VS 2005.
Now I want to write the code for Mac using Cocoa Sharp.

I have some questions before I start:

1. Can I compile Cocoa code on Windows using VS2005?
2. How can I reference to the assembly of Cocoa Sharp from MonoDevelop?
3. What is the best workaround write two different UI layers using Mono.

Thanks in advance,
Yoav

Re: Cross Platform UI - Using WinForm for Windows and Cocoa for Mac

by Andrew Brehm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yoav HaCohen wrote:
Hi,

I have a WinForm application which I want to port to MacOSX.

I want to write a different UI layers for Windows and Mac to supply a native user experience in each of the platforms.
See example on my site for the general procedure:

http://www.netneurotic.net/DNET/StupidWordCounter/

I hope it's outdated by now.



Yoav HaCohen wrote:
1. Can I compile Cocoa code on Windows using VS2005?
No.

Shalom m'Dublin b'Irland,

Andrew