Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

}
like image 465
NoodleOfDeath Avatar asked Aug 14 '16 21:08

NoodleOfDeath


1 Answers

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

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

like image 168
Tomasz Czyżak Avatar answered Nov 13 '22 06:11

Tomasz Czyżak