我在向XCode 8.2.1的代码中添加文档时遇到问题。XCode 8.2.1未显示有关自动完成的文档说明
这里是我的代码:
/// Test documentation method
///
/// - Parameter string: The input string
/// - Returns: The output bool
func testMethod(string:String) -> Bool {
if string == "YES" {
return true
}
return false
}
文档显示为预计在快速帮助窗口,但该说明并不在代码自动完成的窗口显示。
有没有办法让自动完成框中显示的说明,如下图所示:
谢谢。
在Xcode 9b1中仍然不适用于我。看起来它不会很快工作:( –