问题描述
我刚刚浪费了30分钟的更好的部分,寻找以下问题的答案:
I've just wasted a better part of 30 mins searching for an answer to the following question:
有没有办法快速生成文档XCode for Methods类似于Visual Studio的///XML片段?
我知道Doxygen,但是仍然需要手动记录每个方法,基本上我正在寻找一种尽可能减少工作的方法。
I am aware of Doxygen, but that would still require manually documenting each Method, essentially I'm looking for a way to cut down the work as much as possible.
非常感谢。
推荐答案
目前没有办法做到这一点。 Doxygen是你最接近的 - 这是苹果公司使用的。而且由于XCode 4有一个忘记自动化(应用程序破坏),所以不久之后它不会作为附件。
Currently there is no way to do this. Doxygen is the closest you'll get - it's what Apple uses. And since XCode 4 kinda forgot automation (applescripting is broke) it won't be coming as an addon any time soon.
是一个外部应用程序可以帮助您通过复制和粘贴代码生成并不像VS那样无缝隙,而是比手写一切都好。您可以自定义它的模板,以便为您的方法提供文档。
Accessorizer is an external application that helps you through copy & paste code generation. Not nearly as seamless as VS, but better than writing everything by hand. You could customize it's templates to make documentation for your methods.
是构建文本宏的另一种工具。不如Accessorizer的功能丰富,但在其他应用程序中也可以使用。
TextExpander is another tool for building text macros. Not as feature rich as Accessorizer, but usable in other applications as well.
最后,可能最少,,但不如大多数开发人员想要的那样。
Last and probably least, XCode Snippets can be customized, but not as much as most developers would like.
这篇关于XCode中的Visual Studio样式XML文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!