JavaDoc-like documentation for Objective-C in Xcode? [duplicate]

﹥>﹥吖頭↗ 提交于 2019-11-30 18:06:10

问题


Possible Duplicate:
How to do the documentation in objective C?

Is it possible to write class/method documentation in Objective-C in a way that Xcode 4 displays them in the quick help, and/or generates a doc document from it in the style of Apple's own documentation?


回答1:


Displaying it live - not that I know of.

But as for generating Apple like documentation, the best I have found is appledoc which I've been using for a year now. If accepts a wide range of commenting styles including Javadoc styles and can generate very Apple like documentation which it can also install directly into your Xcode help system.




回答2:


I don't know if it still works for Xcode 4 but for Xcode 3 you could generate API doc sets using doxygen.

Apple has a set by step guide: Using doxygen to Create Xcode Documentation Sets on how to do it.




回答3:


There is also the appledoc tool available from GitHub. Makes nice docsets.



来源:https://stackoverflow.com/questions/6225816/javadoc-like-documentation-for-objective-c-in-xcode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!