使用@link和Xcode 6

And*_*lli 5 xcode headerdoc

我正在使用HeaderDoc来记录我的代码,我想链接到文档中的其他方法.我不是想生成HTML(至少目前为止),但我确实希望它出现在Xcode的右侧面板中.以下是-applicationDidEnterBackground:Xcode中出现的文档.我想实现那些引用我自己编写的其他方法的蓝色链接:

在此输入图像描述

文档说要使用@link,但它似乎不起作用:

这是我试过的:

/**
 *  @abstract   Returns an array with a copy of all elements in the heap in sorted order.
 *
 *  @discussion The original heap remains unchanged. This getter uses Heap Sort which takes O(n log n),
 *              although it copies the heap first (in linear time). If losing the elements on the heap is
 *              acceptable you should use @link -removeAllObjectsWithArray: @/link instead, which is faster.
 */
Run Code Online (Sandbox Code Playgroud)

这是结果:

在此输入图像描述

你可以看到它没有正确渲染.我在这里读到的内容@link已经破了,但评论可以追溯到2013年.有没有修复?我做错了吗?

编辑:我试过圣诞老人的建议,这是结果:

/**
 *  @abstract   Whether the heap is empty.
 *
 *  @discussion An empty heap contains no objects, in which case this property returns <code>YES</code>.
 *              Returns <code>NO</code> otherwise, which also implies that calls to {@link count}
 *              return zero.
 */
Run Code Online (Sandbox Code Playgroud)

呈现为:

在此输入图像描述