Using @link with Xcode 6

I use HeaderDoc to document my code, and I would like to refer to other methods in the documentation. I am not trying to create HTML (at least for now), but I want it to appear in the right pane of Xcode. The following is the documentation for -applicationDidEnterBackground: how it appears in Xcode. I want to achieve these blue links by referring to other methods that I wrote to myself:

enter image description here

The docs say use @link , but it doesn't work:

Here is what I tried:

 /** * @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. */ 

Here is the result:

enter image description here

As you can see, this is not displayed correctly. I read here that @link broken, but the comment goes back to 2013. Is there a fix? Am I doing it wrong?

Edit: I tried Santa's suggestion, this is the result:

 /** * @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. */ 

Refers to:

enter image description here

+5
source share

All Articles