discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using autogsdoc on Protocols


From: Richard Frith-Macdonald
Subject: Re: Using autogsdoc on Protocols
Date: Fri, 20 Dec 2002 16:52:38 +0000


On Friday, December 20, 2002, at 04:38  pm, Chris B. Vetter wrote:

Hi,

is there a way to refer/link to a method defined by a protocol?

It's mentioned in the autogsdoc documentation, in the section on 'Automated markup'

Basically, it's just like referring to a method in a class or category, except that the protocol name is enclosed in round brackets.

What I want to do is something like

@interface SomeClass : NSObject <SomeProtocol>

  /**
   * This method does something.
   * Also see (SomeProtocol-alsoDoesSomething).
   */
   - (void) doSomething;

@end

What you want is -

@ interface SomeClass : NSObject <SomeProtocol>
/**
 * This method does something
 * Also see [(SomeProtocol)-alsoDoesSomething].
 */
- (void) doSomething;
@end

If it doesn't work, let me know.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]