是否可以在Windows和Linux中使用Cocoa进行开发? [英] Is it possible to develop using Cocoa in Windows and Linux?

查看:85
本文介绍了是否可以在Windows和Linux中使用Cocoa进行开发?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始学习Objective-C,但是我没有Mac(也没有计划购买Mac),但是我发现Cocoa是在Objective-C中开发的非常好的框架,我想知道:是否可以在Windows和Linux中使用Cocoa进行开发?

I'm starting to learn Objective-C and I don't have a Mac (and I don't have plans to get one), but as I see that Cocoa is a very good framework to develop in Objective-C, I want to know: Is it possible to develop using Cocoa in Windows and Linux?

谢谢。

推荐答案

我认为,如果您想使用Cocoa,最好的选择是购买Mac。您真的不会后悔。 GNUstep是一个很好的解决方案,但是分发使用GNUstep构建的应用程序是不切实际的,因为(据我所知),客户端必须安装运行时程序才能运行。

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也是一个了不起的项目,将来,如果您希望简单的应用程序同时在Mac OS和Windows上运行,它可能对您很有用。但是,您仍然需要Mac才能使用它。

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.

如果您有兴趣将Objective-C之类的语言与Cocoa之类的框架一起使用,但又不想有了Mac,为什么不尝试使用 Cappuccino和Objective-J 进行Web应用程序开发? Objective-J是JavaScript中类似Objcective-C语言的实现,而Cappuccino是Objective-J中对Cocoa框架的惊人模仿。

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.

一些示例使用该框架可以创建的有280张幻灯片和令人惊艳的全新EnStore。那不是一个完美的解决方案,除非您满足于只做Web应用程序,否则应该购买Mac。

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.

这篇关于是否可以在Windows和Linux中使用Cocoa进行开发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆