If you are a long time Objective-C developer you will be familiar with tools like HeaderDoc to annotate and create HTML documentation from your source code. Xcode Quick Help also displays the output during symbol completion.

Source: Swift Documentation Quick Guide