Reputation: 67812
I'm going to learn Objective-C, and I was wondering if there was an eclipse plugin out there to do things like syntax highlighting and easy compiling/project management. I did some preliminary searching, but I couldn't find anything.
What's my best I can do for an IDE?
I don't have a mac.
Upvotes: 45
Views: 79539
Reputation: 84
you can install GNUStep and then program on eclipse (requires to install CDT on eclipse), here is a detailed video clip about how exactly to do that (worked for me)
Upvotes: 1
Reputation: 1075
Here is an article talking about setting up an ojective-c environment in windows, it said only GNUstep MSYS System and the GNUStep Core package are needed: http://www.tutorialspoint.com/objective_c/objective_c_environment_setup.htm
Recently I found out that Mingw includes the objective-c package of gcc (http://mingw.org/wiki/MinGW) - Mingw is a windows port of GCC, the latter includes support of many languages (C, java, fortran)
You can try it, though I haven't do so before. However, be prepared that some libraries might not be supported, especially those that are UI-related.It might be a good idea to look at info about gcc's supprot of objective c to have an idea in what extent does mingw supports objective-c. But for this issue, you might like to look at https://stackoverflow.com/a/9196196/214728
Upvotes: 0
Reputation: 31
tl;dr : http://code.google.com/p/objectiveclipse/
project has closed down though. but it's still there ready to be used.
Upvotes: 0
Reputation: 1889
For thoese who want to develop on a Mac, AppCode from jetBrains is the best I suppose.
Upvotes: 3
Reputation: 1075
Try some online compilers, if u just want to pick up Obj-C's syntax alone:
There should be a lot more online, try to search "online compilers objective-c" w/ ur fav search engine
Upvotes: 5
Reputation: 1417
One note aside, I noticed that even some Eclipse plugin project (for Objective-C development) I was hoping was going to take-off, was shut down.
Get a Mac. Or enjoy the process of not getting it. After all, it's the journey, not the destination.
-- Jorge
Upvotes: 9
Reputation: 44769
The other answers provide pretty good direct answers. However, my first instinct is to jump to the meta-question: "What is your reason for learning Objective-C?" The reason I'd ask that is because the guidance I'd give depends greatly on your motivations. For example...
I realize this doesn't directly answer your question, but I hope it provides some insight, whether to the asker or to someone else in the same situation. Cheers!
Upvotes: 112
Reputation: 11
I once tried to pull together an open-source, iPod/iPhone development environment, but the process took too long and gave up eventually. I got a Mac instead. From there, the tools were free and I started thinking and coding in Objective-C.
I spotted a book about open-source software development (under Linux). Publisher is good ol' O`Reilly. Might worth having a look.
On a similar thread of thoughts, writing up apps in Objective-C for Linux could bring a greater acceptance of the language and framework. For now, it is reserved indeed for those interested in app development for Mac or iPhone/iPad/iPod devices.
In addition, if the objective-C runtime module is light enough, it might be suitable for game console homebrews too: I wrote an app for Nintendo`s DS console and ended up writing lots of C++ lines of codes. I feel it could have been done with less coding with ObjC, and an encapsulated version of libnds, but, to my knowledge, GNUStep hasn't been ported to the DS Open Source toolchain yet (www.devkitpro.org).
Happy Coding!
Upvotes: 1
Reputation: 15625
If you don't have a Mac and want to learn Objective-C on Windows you should have a look at GNUstep (http://www.gnustep.org/). I think you get packages for Windows and it comes with an IDE. GNUstep contains a lot of the Cocoa classes so it might be relatively easy to get started. When I tried GNUstep on Windows a while back it was quite buggy for me, though.
A text editor you could try is E (http://www.e-texteditor.com/index.html). It's a clone of TextMate (a popular editor on the Mac) and you can install bundles for all sorts of things, including Objective-C support. (http://svn.textmate.org/trunk/Bundles/). You get a free trial, so maybe just give it a shot.
I hope that helps. I have hardly done any Objective-C programming on Windows, but that's what I would look at first, GNUstep and possibly E.
Upvotes: 7
Reputation: 39485
for Objective-C the best is Xcode - if you have a Mac. There are some other IDEs out there like KDevelop that offer support for other OSes. The only thing I have seen for Eclipse is objectiveeclipse, but I do not have any experience with it.
Upvotes: 29