Skip to content
Advertisement

Is it possible to compile Objective-C code on a PC?

I would like to start learning Objective-C for future iOS development. I understand that there are many large hurdles in getting an iPhone app to work on a PC but I’m trying to avoid all of that and just get familiar with the Objective-C language itself without all of the added mobile features.

Is there a way to compile Objective-C programs on a PC to learn just the language without any extra iOS features?

Advertisement

Answer

Yes, definitely. Have a look at GNUstep – it’s a framework that contains the Objective-C runtime library and most of the Foundation classes. You can learn the language very well by using this package with GCC (gobjc) and MinGW on Linux or Windows.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement