How do you port Cocoa / Mac app on Windows?

How do you port Cocoa / Mac app on Windows? I mean, how would you do that? Suppose the application was written using Objective-C and Cocoa, nothing interesting happens, there is no “engine” that can be taken into account, etc.

Rewrite from scratch? I don’t think there will be big matches between Mac and Windows codes, right?

+5
source share
4 answers

The problem with Objective-C is very poor support on any platform that is not OS X. You can try using Cocotron , but I would not consider it ready.

. C ++ "" GUI-. , , Qt

+2

. , . , . . - , , gnustep.

- -gui- , , C ++. , - , ​​ QT, - , , , . , qt.nokia.com QTCreator Windows Mac. , QT .

QT , : - Cocoa Win32. cocoa C, , GUI Win32 C/++.

gui- ++ - Objective-C, , .mm - ++ .

CoreData - , sqlite? , XCode sqlite, - , , - , CoreData - ?

+4

, cocoa, gnustep, , , Windows, .

+2

Do you know about Cocotron ? It looks like the project may be out of date, but it’s a good starting point anyway. This is a project for porting core APIs.

If your application is not cleanly shared (i.e.: a la MVC), then the only solution is to rewrite, I think.

+1
source

All Articles