Apple / iPhone开发IDE首选项? [英] Apple/iPhone Development IDE Preferences?

查看:166
本文介绍了Apple / iPhone开发IDE首选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要做一些我从未想过会做的事情......学习如何为Apple硬件编程。在使用C,C ++,C#,.NET之后,甚至在DOS的黄金时代(Borland Turbo-C中的一个小DOS4G / W内存扩展器,任何人?)甚至小时候,玩Atari 8-Bit Turbo-BASIC,我觉得在多个级别上有点叛逆:)无论如何,我要去研究生院,全日制学习音乐 - 这将是多年来我第一次没有全日制编程演出 - 而且我觉得在我的空闲时间拿起一些Objective-C会很有趣 - 也许还有一点额外的口袋改变(一个人总能希望:)

I'm going to do something I never thought I'd do... learn how to program for Apple hardware . After working in C, C++, C#, .NET, and even in the golden days of DOS (a little DOS4G/W memory extender in Borland Turbo-C, anyone?) and even as a kid, playing around with Atari 8-Bit Turbo-BASIC, I feel a little traitorous on multiple levels :) Anyway, I'm going to grad school, studying music full-time - it'll be the first time in years I won't have a full-time programming gig - and I thought it would be fun to pick-up some Objective-C in my free-time - and maybe a little extra pocket change (one can always hope :)

那么,到帖子。我很习惯Visual Studio,设计师,XAML编辑器,代码隐藏,等等等等。一位朋友在他的小MacBook上拉了X-Code,以展示它应该是多么酷。当然,它与VS整体有着相同的东西,但它似乎比我想要的更分散。我敢肯定,一旦我习惯了它,它会没事的,但我只是想知道是否还有其他好的,免费的(或几乎免费的)/或开源编辑器用于基于英特尔的苹果这也可以处理iPhone开发。或者有关进入xCode的任何提示?我刚刚决定这样做,所以我觉得我是从头开始的。我没有抨击X-Code ......我还没有真正使用它。我只是想知道编码员的偏好是什么。

So, to the point of the post. I'm very used to Visual Studio, the designer, the XAML editor, the code-behind, blah blah blah. A friend pulled up X-Code on his little MacBook to show off how cool it's supposed to be. Sure, it has the same sorts of things as VS overall, but it seemed a little more scattered then I'd like. I'm sure once I got used to it, it would be fine, but I was just wondering if there are other good, free (or almost free)/or open-source editors out there for the Intel-based Apples that could also handle iPhone development. Or any tips on getting into xCode? I've just decided to do this, so I feel like I'm starting from scratch. I'm not slamming X-Code... I haven't really used it yet. I was just wondering what coders' preferences are.

感谢您的任何建议!

推荐答案

OS X上没有替代IDE可用于编写本机应用程序。但有些人不喜欢Xcode内置编辑器。一个非常受欢迎的选择是 TextMate (非免费,但值得~50美元)。可以将Xcode配置为使用您选择的编辑器来编辑文本文件。免费替代品包括 Emacs OS X的Vim 端口。

There really is no alternative IDE on OS X for writing native applications. Some dislike the Xcode built-in editor, however. One very popular alternative is TextMate (non-free, but well worth the ~$50). Xcode can be configured to use your editor of choice for editing text files. Free alternatives include Emacs and Vim ports for OS X.

当然,您可以在没有Xcode的情况下使用gcc工具链(例如使用Unix之一)像Make这样的构建系统。你也可以在终端命令行使用 xcodebuild 来构建一个Xcode项目而不使用Xcode GUI(你很难配置和管理项目而不用然而,GUI)。结合这两者,人们可以拼凑一个IDE,例如 Eclipse 来构建OS X应用程序。由于Xcode为您处理证书签名等,iPhone会更难,但仍然可能。当然,你会放弃从Xcode获得的所有优秀的Objective-C完成和文档集成。

You can, of course, use the gcc toolchain without Xcode (e.g. using one of the Unix-style build systems such as Make). You can also use xcodebuild at the terminal command line to build an Xcode project without using the Xcode GUI at all (you'd be hard-pressed to configure and manage the project without the GUI, however). Combining these two, one could cobble together an IDE from e.g Eclipse to build an OS X app. iPhone would be harder since Xcode handles certificate signing etc. for you, but still possible. You would loose all of the nice Objective-C completion and documentation integration you get from Xcode, of course.

因此,总而言之,Xcode几乎是唯一的游戏镇。毫无疑问需要一段时间才能习惯来自VS.特别是,代码生成在Cocoa世界中几乎闻所未闻。当您感觉自己在寻找这些工具时,请训练自己尝试不同的方法。 Objective-C的后期绑定与NIB / XIB的强大功能相结合(Interface Builder中生成的捆绑包描述了应用程序的UI; XIB是一种更新的,版本控制友好的基于XML的格式,可自动编译为NIB,来自NextStep天的旧式格式)不需要代码生成。

So, in summary, Xcode is pretty much the only game in town. It will undoubtedly take a while to get used to coming from VS. In particular, code generation is almost unheard of in the Cocoa world. When you feel yourself searching for those kind of tools, train yourself to try a different approach. Objective-C's late-binding combined with the power of NIB/XIB (bundles produced in Interface Builder that describe the UI of an app; XIB is a newer, version-control-friendly XML-based format that is automatically compiled into a NIB, the old-style format from NextStep days) makes code generation unnecessary.

对于非Cocoa / iPhone开发,生态系统自然更大。诺基亚为Qt工具包提供了自己的 IDE ,可用于编写OS X(但不是iPhone)应用程序。 Eclipse 可用于使用任何Java工具包(包括SWT和Qt-Java框架,QtJambi)编写Java应用程序。

For non-Cocoa/iPhone development, the ecosystem is naturally larger. Nokia has their own IDE for the Qt toolkit which can be used to write OS X (but not iPhone) apps. Eclipse can be used to write Java apps using any of the Java toolkits (including SWT and the Qt-Java framework, QtJambi).

对于纯Windows开发人员的熟悉程度,还有 Mono MonoDevelop 可以在OS X上运行,但我是不确定。

For pure Windows-developer familiarity, there's also Mono which runs on OS X. MonoDevelop may run on OS X, but I'm not sure.

这篇关于Apple / iPhone开发IDE首选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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