How to show a description of the method in the auto-complete of Xcode?

0

I'm developing a Framework and would like it when the user types themselves and the auto-complete would suggest the method, below / above would appear to what it does. Type this:

I thought it was just like this:

/**
 * <Descrição aqui>
 */
    
asked by anonymous 24.03.2017 / 18:48

1 answer

0

From xcode 8.2 this is possible automatically, try placing the cursor on the function you want to document and then press the following button combination:

So it will present something like this:

/// <#Description#>
///
/// - parameter bar: <#bar description#>
///
/// - returns: <#return value description#>
    
13.04.2017 / 14:48