How do you document the parameters of a function’s closure parameter in Swift 3?
As far as I know, you can only document the closure parameters if you label them: /// Calls bar with “Hello, world” /// – parameter bar: A closure to call /// – parameter theString: A string to use func foo(bar: (theString: String) -> Void) { bar(theString: “Hello, world”) } This is less than ideal: it … Read more