tomaz / appledoc

Objective-c code Apple style documentation set generator.
http://gentlebytes.com
4.19k stars 644 forks source link

How to document methods with variable argument lists #621

Closed BrunoVandekerkhove closed 6 years ago

BrunoVandekerkhove commented 6 years ago

When I try to generate documentation for a piece of code, I get a warning that states :

(...) Description for parameter '...' missing for -[(...)]!

How can I resolve this?

tomaz commented 6 years ago

Writing from memory, but did you try:

@param ... description
BrunoVandekerkhove commented 6 years ago

Yeah, it removes the warning. I thought documenting such methods was done differently but apparently Apple also describes '...' as a param. Thanks.