views:

1418

answers:

5

Hello,

I'm learning thinking in start to learn Objective-C and i don't have a Mac(And i don't have plans to have one), but as i see that Cocoa is a very good framework to develop in Objective-C, i want to know: It's Possible To Develop Using Cocoa In Windows And Linux?

Thanks.

+6  A: 

Check out GnuStep.org.

NSResponder
+3  A: 

Take a look at Cocotron

The purpose of the project is to provide an easy to use cross-platform solution for Objective-C development. In particular, source code level compatibility with recent versions of Apple's frameworks (OS X 10.4 and 10.5).

The general goal is to provide complete support on any viable platform, the project is intended to be as portable as possible. However, most of the work at this time is focused on providing support for Microsoft Windows. In particular the NT based versions, 2000 up to Vista.

nall
I believe with Cocotron you still have to code on the Mac, but you can compile it to run in Windows.
BBlake
Huh, that's not a good news. :(
Nathan Campos
+5  A: 

I think that your best bet, if you want to use Cocoa, is to get a Mac. You really won't regret it. GNUstep is a neat solution, but it is impractical to distribute applications built using GNUstep, because (as far as I know), clients must have the runtime installed for it to work.

Cocotron is an amazing project as well, and in the future, it may be useful for you if you want simple apps to run on both Mac OS and Windows. But you would still need a Mac to use it.

If you are interested in using a language like Objective-C with a framework like Cocoa, but don't want to get a Mac, why don't you try web application development with Cappuccino and Objective-J?. Objective-J is an implementation of an Objcective-C-like language in JavaScript, and Cappuccino is a really amazing imitation of the Cocoa framework in Objective-J.

Some examples of what can be created using that framework are 280 Slides and the new, stunningly beautiful EnStore. That's not a perfect solution, and unless you are content to just do web applications, you should buy a Mac.

Jonathan Sterling
+4  A: 

The answers to these questions might also provide some pointers:

Brad Larson
I never said about iPhone here.
Nathan Campos
I know, I just figured that I'd throw that in there in case iPhone development was your end goal (as it has been for many people coming to Cocoa via Windows lately).
Brad Larson