McUrbn McUrbn - 4 months ago 9
Objective-C Question

/*! */ What does that mean?

I just found this comment declaration in some xcode sample project:

/*!
@property masterVolume
@abstract Sets the master volume
*/
@property float masterVolume;


The comment is green as usual, the @property and @ abstract are dark green. If I remove the exclamation mark, they have the same green. What the heck does that mean?

Answer

To make transition from headerdoc a bit simpler, appledoc (toll to generate documentation from code so you save time in documentation) also accepts headerdoc style multiline comments:

/*! Comment */

Source

Comments