I know how to document the parameter name of a function like:
/**
- parameters:
- param: the parameter
*/
func myFunc(param: Int) {...}
but I am unable to document the argument label (either with or without the parameter name):
/**
- parameters:
- label: the label
- param: the parameter
*/
func myFunc(label param: Int) {...}
After all, documenting the label is more important than the parameter name, as it is what is used at function calls.
Note: I've been unable to find the trick in Apple's documentation, or I did I miss something?
