Objective C on Windows or Linux

2020-06-17 04:20发布

I would like to learn objective-c, but don't have a Mac.

How would I compile obj-c on Windows or Linux? I would prefer Windows, but Linux would be OK.

4条回答
别忘想泡老子
2楼-- · 2020-06-17 04:52

You can use gcc to compile objective c as suggested by the previous answers. But one thing is if you are planning this for iPhone development then mac is a must as the framework, simulator etc. are not available in other platforms.

查看更多
迷人小祖宗
3楼-- · 2020-06-17 04:55

If you just want to experiment, there's an Objective-C compiler for .NET (Windows) here: http://www.qckapp.com/index.html?p=ObjC

查看更多
Animai°情兽
4楼-- · 2020-06-17 04:57

http://gnustep.org/ -- no experience using it, but it might be worth a shot.

查看更多
地球回转人心会变
5楼-- · 2020-06-17 05:01

GCC has an objective-C compiler. You may also want to investigate the GNUStep tools, which provide a clone of the OpenStep APIs (Which Cocoa is based on.)

查看更多
登录 后发表回答