Does doxygen support inline comments for method arguments in Objective-C?

I used to use doxygen for C ++, and I really liked the ability to document the built-in functions of a function and method using ///< or variations. On the contrary, I really dislike repeating the arguments in the comments when not using the inline style (since most of them only support doc systems).

Lately, I have configured doxygen with my Objective-C code and it seems that I could not get the documentation of the built-in arguments to work!

Incorrect documentation using @param seems to work, so I can only conclude that it does not support the Objective-C inline syntax. That would be a real shame.

Does anyone know something else? I would like this to work.

+4
source share
2 answers

Have you tried the syntax mentioned in the manual:

 void foo(int v /**< [in] docs for input parameter v. */); 

I tested this and it worked for me.

+2
source

I remember that I successfully used this notation, for example, for class variables, but I never tried method arguments. I assume this comes from Objective-C syntax for method arguments.

0
source

All Articles