0
From Xcode 8.2 this is possible automatically, try placing the cursor on top of the function you want to document and then press the following button combination:
cmd + option + /
So he’ll present something like this:
/// <#Description#>
///
/// - parameter bar: <#bar description#>
///
/// - returns: <#return value description#>
cmd + option + / actually opens the emoji popup @Lucas :P
– Rici
@Felipericieri what opens emojis is cmd + Ctrl + space
– Lucas Romano
Check the version you are using of Xcode. What can be and what your keyboard shortcuts are changed. The shortcut supetão I mentioned is only to auto complete based on the method.
– Lucas Romano
I was using the wrong shortcut, the command you passed really works. But he did not give me the behavior I wanted, illustrated in the figure above.
– Rici