Xcode自动注释插件: VVDocumenter使用跟安装

Xcode自动注释插件: VVDocumenter使用和安装

开源插件: VVDocumenter

下载地址: https://github.com/onevcat/VVDocumenter-Xcode

使用效果:

Xcode自动注释插件: VVDocumenter使用跟安装

使用方法:

在方法写///,效果同上图,下面有方法可以自定义添加注释的方法

安装方法:

下载用Xcode工程打开,按command + B, Build成功后,可以在~/Library/Application Support/Developer/Shared/Xcode/Plug-ins 文件夹下看到

Xcode自动注释插件: VVDocumenter使用跟安装

插件需重启Xcode后生效

插件设置方法:

在Xcode菜单,Window选项可以对插件进行一些设置

Xcode自动注释插件: VVDocumenter使用跟安装

Xcode自动注释插件: VVDocumenter使用跟安装

 

注:更新Xcode会导致插件失效,重启安装一次即可正常使用