Answer the question
In order to leave comments, you need to log in
How to properly document a method in Objective C?
I want to document my code the way it's done in the source code of the language; so that when you press Option and click on the method, you can see something like this:
Tried using Javadoc and documented the method like this:
/**
Method get something
@param string some parameter
@return returns something
*/
+ (NSString *)getOpenOrdersCount;
Answer the question
In order to leave comments, you need to log in
This feature is in the new Xcode 5. For Xcode 4 - appledoc and doxygen.
It has a lot of changes in general - see What's New in Xcode 5 in the list of videos from WWDC 2013
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question