Noo*_*ath 12 markup xcode reference swift
我想在Swift中的同一个文件中创建一个链接引用,就像你在JavaDoc中那样,但我似乎无法找到描述如何执行此操作的文档.您只能引用外部URL.我希望能够做到这样的事情:
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() {
...
}
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
783 次 |
| 最近记录: |