objective c - XCode intellisense with additional info -
Not sure I'm using the best title for this, but this is the best I can think. Those of us who are quite new to XCode, and who have been very pampered in the visual studio, actually I'm really missing the feature where in my Visual Studio I have my code elements (properties, functions, classes, which Anything) could have been decorated with XML in Intellisense so that when a user is trying to access my class library in their code, they can use their methods in their code window. Type the name of one, and the dropdown will not only include the parameter information (which XCode does), but the summary details, or additional details, which are not alone in the name of the law / property / delegation etc. To do whatever I have included supplementary information.
Is this possible in XCode? I do not believe, as I have yet to see it.
You can do it in Xcode.
In the first row of your class name / method declaration / property declaration, and always in your header (.h) file, you should get a document comment ( /// comment
or / ** comment ** /
). When you type the name of that object / method / property, this text will appear in the Xcode drop down menu.
Example:
/// Some text in this string @property (nonatomic, strong) NSString * string;
or
/ ** This object subclasses to UIView to achieve something. ** / @ Interface MyView: UIView {...
Comments
Post a Comment