The parameters of a block in Swift shows up with a table for parameters of the block if you add markup for documentation but I can not figure out how to fill out this table. I h
You have to give a name to the parameter, but precede it with an underscore:
/** Foo - parameter completion: A block to execute - parameter aflag: Some Bool flag */ func foo(completion: (_ aflag: Bool) -> Void) { // do something }