There are three main tools for generating technical documentation:
1.headerdoc, Pros: Xcode's own document generation tool, command-line-based operation, and ease of use. Cons: However, you can only generate comments in/*! */format. Another drawback is that each class file corresponds to a comment file, and the index file does not have the last summary navigation.
2.doxygen, Advantages: Powerful, the most support language in the three, no headerdoc shortcomings, based on the graphical operation of the interface, Cons: More configuration, you can generate HTML documents or PDF documents.
3.appledoc. Pros: Command-line-based operation, ease of use, no Headerdoc disadvantage, default generated document style and Apple's official document is consistent, namely Docset, integrated into Xcode is identical to Apple's official document, By holding down option in the source code and then clicking, you can bring up the help of the appropriate method. Of course, you can also generate HTML documents.
Using Xcode to generate API documentation---01 INTRODUCTION