Xcode announces autocomplete (appledoc style)

I find that the documentation of my interfaces is especially painful because I need to type everything myself. Therefore, I thought that I should not be so unique and began to look for a way to reduce my pain, but I did not find much.

My question is: is there a shortcut or a way for Xcode to autofill my comments? For example, I would really like if I typed /** + [tab]that it autocompletes:

/**
 * [cursor here]
 * 
 * (maybe some pre-populate a list of arguments for the method below)
 */
- (void)test:(NSString *)testString another:(NSString *)another;

Thank!

+5
source share
1 answer

Xcode. , , , . , Xcode . , - m-comment :

snippet editor

m-comment ( ), , . , :

inserted comment

, , <# #>, : <#method name#>.

, Objective-C , , . . Xcode 3 , , HeaderDoc . , , , , .

+10

All Articles