Writing Winforms app with Cocoa# in mind

0 views
Skip to first unread message

Leauki

unread,
Dec 19, 2007, 12:17:43 PM12/19/07
to cocoa-sharp-dev
http://code.google.com/p/cocoa-sharp-dev/wiki/SimpleTutorial

I figure the best way to write a Winforms app and port it to Cocoa#
would be the following. Please add or correct.

1. In Visual Studio, design the forms.

2. Create a new class for the actual business logic of the program,
keep the class VS creates as a controller with methods for setting
text in text fields etc..

3. Compile and test.

4. Copy business logic file to Mac OS.

5. In Interface Builder, design a Cocoa interface.

6. Rewrite the controller class using the same method declarations.

7. Compile and test.

Does that sound sound?
Reply all
Reply to author
Forward
0 new messages