JavaDoc-like documentation for Objective-C in Xcod

2020-03-04 12:05发布

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?

3条回答
女痞
2楼-- · 2020-03-04 12:44

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.

查看更多
Viruses.
3楼-- · 2020-03-04 12:52

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.

查看更多
▲ chillily
4楼-- · 2020-03-04 12:53

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

查看更多
登录 后发表回答