有没有基于 Windows 的 IDE 来查看 Objective-C 代码?
我希望能够在 Windows 中浏览 iPhone 应用程序的源代码。我不想编译和运行代码,只需要某种能够理解 Objective-C 代码和 iPhone 应用程序源结构的工具。将源代码视为一个整体(基于项目)并且理想情况下可以链接不同的类和方法的东西。它不仅仅是一个具有代码样式的普通编辑器,也不是一个功能齐全的 IDE。你有什么工具推荐吗?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
大多数编辑器都支持 Objective-C 语法突出显示。我个人使用 VIM 或 NotePad++。我推荐 NotePad++,因为它易于使用。但据我所知,Windows 上没有针对 Objective-C 的“IDE”。
Most editors will support Objective-C syntax highlighting. Personally I use VIM or NotePad++. I would recommend NotePad++ for ease of use. But as far as I know there is no 'IDE' for Objective-C for Windows.
如果我需要在 Windows 中查看源代码,我会使用 jEdit。几乎处理 Objective C 的所有结构和语法突出显示。
编辑:它是一个编辑器。不是 IDE。但考虑到您只需要查看代码,我想这已经足够了。
I use jEdit if I need to see the source code in Windows. Pretty much handles all the structure and syntax highlighting of objective C.
EDIT: Its an editor. Not a IDE. But with your needs of just viewing code, I guess it must suffice.
如果您想要的不仅仅是语法突出显示,GNUStep 有一个 名为 PROject Center 的 IDE。 GNUStep 可以在 Windows 上运行,因此据称 Project Center 也可以。
If you want a bit more than just syntax highlighting, GNUStep has an IDE called PRoject Center. GNUStep can run on Windows, so allegedly Project Center will too.
Emacs 对 Objective-C 具有良好的语法和缩进支持,例如,它可以像 Xcode 那样缩进方法调用(基于 ':'),并且有一个 Windows 版本可用 此处。
虽然它不是 IDE,但大多数时候我将它用于 Obj-C/GNUstep,没有太多问题。
Emacs has good syntax and indentation support for Objective-C, for example it can indent the method calls the way Xcode does (based on ':') and there's a Windows version of it available here.
Though it's not an IDE, most of the time I use it for Obj-C/GNUstep without much problems.
如果您使用类似 ctags 来标记源代码,您可以使用 任何支持 ctags 的编辑器。
看起来 ctags 不直接支持 Objective-C,但是相当容易 向 ctags 添加新语言配置。
If you use something like ctags to tag your source code you could use any editor with support for ctags.
It looks like ctags does not support Objective-C directly, but it is fairly easy to add a new language configuration to ctags.