我想知道是否可以为@param创建多行注释。这就是我的意思:
/**
* Some description
*
* @param test Some test parameter
this should start on a new line
this as well
*/
上面的代码将所有三行放在一起。 现在,我知道用新线开始某事的唯一方法就是在这之前有一个空行:
/**
* Some description
*
* @param test Some test parameter
this should start on a new line
this as well
*/
不幸的是,上面的代码认为最后两行属于描述而不是@param。有没有办法让xcode知道这个描述仍然适用于@param?