在 Mac 上为 Windows 编译 Objective-C?
我正在为 OS X 编写一个应用程序,我的一个朋友希望我为 Windows 编写它。这可以做到吗?我还有两个与此相关的问题,与我提出另一个问题密切相关。
1: 我可以使用我的 Nib 文件来构建 Windows 界面吗?
2:如果您回答了我原来的问题,您的解决方案是否适用于所有类型的 Windows(Windows Vista、Windows XP、Windows 7 等)?
I am programming an application for OS X, and a friend of mine wants me to make it for Windows. Can this be done? I have two other questions that related to this one, to closely related for me to ask another question.
1: Can I use my Nib files to build the interface for Windows?
2: If you answered my original question, does your solution work for all kinds of Windows (Windows Vista, Windows XP, Windows 7, ect)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
有一个名为 Cocotron 的项目,旨在允许您为其他平台编译 Objective-C。看起来他们的网站说(对于 Windows)它适用于所有基于 NT 的 Windows。我认为它可以让你重复使用你的笔尖,但我不确定。
There's a project called Cocotron that aims to allow you to compile Objective-C for other platforms. It looks like their website says that (for Windows) it works on all NT-based Windowses. I think it allows you to reuse your Nibs, but I'm not sure.
还有GNUstep和Cygwin,它有点丑,但我过去用过它。也可以在 Linux 上运行。
There is also GNUstep and Cygwin, it is kind of ugly, but I have used it in the past. Works on linux too.