12

I want to make a link reference within the same file in Swift kind of like the way you can in JavaDoc, but I can't seem to find documentation describing how to do this. You can only reference external URLS. I want to be able to do something like this:

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() {
       ...
    }

}
rolling_codes
  • 15,174
  • 22
  • 76
  • 112

1 Answers1

1

This known issue in Xcode since Jan 2018... :(

Here is radar: https://github.com/lionheart/openradar-mirror/issues/19263

Tomasz Czyżak
  • 1,118
  • 12
  • 13