Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Objective C on Windows or Linux

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.

like image 238
Joe Avatar asked Jul 09 '10 16:07

Joe


People also ask

What IDE should I use for Objective-C?

Netbeans. Netbeans is a free, open-source, and popular cross-platform IDE for C/C++ and several other programming languages. It is fully extensible using community-developed plugins.

How do I run Objective-C on Windows?

In order to run Objective-C program on windows, we need to install MinGW and GNUStep Core. Both are available at https://www.gnu.org/software/gnustep/windows/installer.html. First, we need to install the MSYS/MinGW System package. Then, we need to install the GNUstep Core package.

Do people still use Objective-C?

Furthermore, Objective-C is a piece of art, creators packed genius solutions and were constantly improving it, so us developers were able to use it at our advantage. There are a lot of indicators telling us there's still a ton of legacy Objective-C code, both from Apple and from other developers, that's still in use.

Is Objective-C faster than C++?

Just like in C++, Objective-C relies in compiler-generated function pointer tables that are traversed at runtime. Unlike C++, however, the binding method is more 'dynamic', and promotes the use of the id superclass everywhere, making it slightly slower than C++ in theory.


1 Answers

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.)

like image 89
Sean McMillan Avatar answered Oct 09 '22 16:10

Sean McMillan