Using Xcode , I want to have the Doxygen description of my method below the autocomplete option, like alloc
:
When writing, Xcode displays the autocomplete with the comments from the documentation. You can see in the image for example, when alloc
is selected from the options, it says "Returns a new instance of the receiving class" and also links to the documentation.
I have been able to document my source code with Doxygen, for instance
/**
This does nothing
*/
-(void) doNothing
{
// This does nothing
}
and I get the expected results in the HTML file that Doxygen generates, yet I don't know how to make those results appear as suggestions in Xcode.
See Question&Answers more detail:os