Xcode 标记 Link 同一文件中的引用

Xcode Markup Link Reference Within Same File

我想在 Swift 中的同一文件中创建一个 link 引用,有点像您在 JavaDoc 中可以使用的方式,但我似乎找不到描述如何执行此操作的文档.您只能引用外部 URLS。我希望能够做这样的事情:

class myClass : UIView {

    /// The label that displays the scale of this view
    /// - seealso: [showScaleView](showScaleView())
    private lazy var scaleView: UIView = UIView()

    /// Shows the scale view
    /// - seealso: [scaleView](scaleView)
    private func showScaleView() {
       ...
    }

}

自 2018 年 1 月以来 Xcode 中的这个已知问题...:(

这是雷达:https://github.com/lionheart/openradar-mirror/issues/19263