假设我有两个类:
- /**
- This class should be used together with [Foo]( ??? ).
- */
- class Bar {
- func doNothing() {}
- }
- /**
- Description of what Foo does goes here.
- */
- class Foo {
- func doNothing() {}
- }
我想在Bar的Xcode快速帮助中创建一个指向Foo或Foo快速帮助的链接.它甚至可能吗?如果是这样,怎么样?
据我所知,通过查看Apple’s docs和more Apple’s docs,链接的[名称](目标)语法不符合要求.
我偶然发现了这个.显然,如果您在反引号中包含的文本恰好是一个类,它将呈现为该类的超链接.