Is there a Javadoc-like plugin for Xcode that automatically generates the doc template?

Posted by Mark on Stack Overflow See other posts from Stack Overflow or by Mark
Published on 2010-03-19T09:35:51Z Indexed on 2010/03/19 9:41 UTC
Read the original article Hit count: 168

I'm aware of Doxygen to generate the documentation. What I'm looking for is quick way to insert documentation in Xcode similar to what Eclipse does when editing Java files.

Let's say I have an objective-c method with a couple of arguments like this:

-(NSInteger*) sumOf: (NSInteger*) one and:(NSInteger*) two {...

In Eclipse, if you place the cursor above the method and type: /**<Enter> you get a Javadoc template pre-populated with @param and @return tags.

Is it possible to achieve something similar in Xcode? After typing /**<Enter>, I'd like to get this automatically:

/**
 *
 * @param one
 * @param two
 * 
 * @return
 */
 -(NSInteger*) sumOf: (NSInteger*) one and:(NSInteger*) two {...

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about xcode