rollingcodes
rollingcodes

Reputation: 16038

Xcode Markup Link Reference Within Same File

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

}

Upvotes: 12

Views: 1401

Answers (1)

Tomasz Czyżak
Tomasz Czyżak

Reputation: 1118

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

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

Upvotes: 1

Related Questions