2

I am using Windows and would like to start learning how to program in Objective-C.
I installed Gnustep and was unable to determine how to construct and build a project (equivalent) nor could I find an IDE (see Gnustep getting started if you have a suggestion)

Are there any alternatives?
(I saw Learning Objective-c without a mac but i am fairly sure my question is different enough to warrant a separate question)

Community
  • 1
  • 1
RCIX
  • 38,647
  • 50
  • 150
  • 207

5 Answers5

3

Here's some bad news. There is no decent IDE for Objective-C available on Windows.And GNUStep is well so much anchored in the linux world that you probably won't be able using it without cygwin installed. However with CYGWIN and with the proper Environment variables set you can follow the GNUStep Makefile tutorial on getting your Objective-C running.

It's really a shame that such a wonderful languages like Objective-C lacks any useful IDE on anything else but Macs....

Regards Friedrich

Friedrich
  • 5,916
  • 25
  • 45
2

Here's a nice answer to your question:

http://www.oreillynet.com/cs/user/view/cs_msg/22037

Objective-C can be compiled by gcc, which means that you can use it pretty much wherever.

However, as Retro says, the main strength of Objective-C in OS X is the frameworks. But Retro's a little off when he says that those are available only for OS X.

So it depends on whether you're learning Objective C for use on the mac or not.

Community
  • 1
  • 1
nevan king
  • 112,709
  • 45
  • 203
  • 241
  • I will be, but won't be able to program on it for a little while and want to learn the syntax first. – RCIX Jul 03 '09 at 11:00
  • You might want to try this C and C++ IDE then, it seems to have GCC included. http://www.bloodshed.net/devcpp.html .. I don't have experience of Objective C on Windows, so this is 2nd hand information. Search for Windows and GCC to find more. GCC is a compiler which builds executable code for many languages, including C, C++ and Objective C. – nevan king Jul 03 '09 at 12:28
2

install Bloodshed Dev-C++ (GCC front end) from www.bloodshed.net/devcpp.html ...

install Objective-C DevPak from http://www.bloodshed.net/dev/packages/index.html ...

make a source file with .m extension and a main function and put it in a blank project...

use the tools menu to add -lobjc flag to linker...

F9...

viola!

Jono
  • 21
  • 1
1

You'll want to use a good text editor that supports Objective-C syntax highlighting (or language plugins) and GCC. Unfortunately, when you go down these esoteric platform combinations you have to make due with the simplest of tools.

Nolte
  • 1,096
  • 5
  • 11
0

For syntax highlighting you can use notepad++ text editor.It has objective c language syntax support .But it is not a IDE.

MCG
  • 1,011
  • 1
  • 10
  • 21