I want to set up doxygen as the tool to document my Objective C source code. The code generating tool seems to work well, except that the way it renders the descriptions of my Objective C methods makes them look like they are written in C++. I have read through all of the various options in the Doxygen website, but I can't find a combination of options to force it to render a more "Objective-C"-like appearance.
Likewise, editing the doxygenLayout.xml file seems to be useful for changing the names of the different sections, but I don't see how it can be used to change the way that methods are represented. I have included an example below:


Notice how version has two parenthesis after it, and the class uses two colons between the class name and the method name. Is there a way to change this?
If you want to force doxygen to generate documentation for Objective-C, you can use EXTENSION_MAPPING in doxygens config file. For example, if you want to force doxygen to Objective-C for .m and .h files, add the following:
EXTENSION_MAPPING = m=Objective-C \
h=Objective-C
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With