I would like to test 开发者_运维技巧Objective-C, but I don't have a Mac. Is it possible to program Objective-C in Windows? Another possibility is to do it in Linux. Does anyone know if either is possible?
Yes, the GNU Compiler Collection contains an Objective-C frontend.
It will easily work on Linux and can be used on Windows too if you workaround with some binary distributions like cygwin or gnustep.
But I don't think you will have any kind of Cocoa API, you will have just the ObjC syntax.
精彩评论