Xcode中的自定义文档注释

时间:2018-01-05 22:20:21

标签: ios xcode

我知道有一个集成的文档注释生成器,使用Xcode中的键option + command + /而不是Xcode 8中的VVDocumenter。它会自动生成类似方法的注释以下内容:

/**
Some Description
@param someParam   description of param
@return            description of return
*/

然后我想为作者和日期添加一些自定义标签,并使其每次都自动生成这些标签,如下所示:

/**
Some Description
@Author            me
@Date              05/01/2018
@param someParam   description of param
@return            description of return
*/

那么我该如何更改文档评论模板呢?

0 个答案:

没有答案
相关问题