在快速帮助文档注释中添加指向Swift类的链接?

Cyb*_*aur 9 documentation xcode comments swift

假设我有两个类:

/**
  This class should be used together with [Foo]( ??? ).
*/
class Bar {
    func doNothing() {}
}

/**
  Description of what Foo does goes here.
*/
class Foo {
    func doNothing() {}
}
Run Code Online (Sandbox Code Playgroud)

我想在Bar的Xcode快速帮助中创建一个指向Foo或Foo快速帮助的链接.它甚至可能吗?如果是这样,怎么样?

[name](target)通过查看Apple的文档Apple的更多文档,我可以看出链接的语法并不符合要求.

edb*_*rns 1

我只是偶然发现了这一点。显然,如果您用反引号括起来的文本恰好是一个类,它将呈现为该类的超链接。