热门搜索 :
考研考公
您的当前位置:首页正文

XCode 插件使用

来源:东饰资讯网

已使用插件

包管理插件:

安装地址: ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins

文档注释:

使用Alactraz包管理插件安装

其他插件参考

文档注释:

"github优秀开源项目大全-iOS"

文档生成

使用appledoc生成文档。

  1. appledoc安装:
  1. Xcode和appledoc 集成:
  1. 利用xcode自动生成项目文档:
  1. 可执行Run script 代码块

# shell script goes here

#appledoc Xcode script

# Start constants

company="9tong";

productName="人脉通";

companyID="com.9tong";

#outputPath="~/help";

outputPath="./doc";

inputPath="./tranb/class/ViewController/Home/Tranb/TimeLine";

# End constants

/usr/local/bin/appledoc \

-p "${productName}" \

-c "${company}" \

--company-id "${companyID}" \

--no-create-docset \

-o "${outputPath}"  \

"${inputPath}"

exit 0

使用HeaderDoc生成文档。

  1. 利用xcode自动生成项目文档:

2.可执行Run script 代码块


# shell script goes here

mkdir -p headerDoc

find ./tranb/class/ViewController/Home/Tranb/TimeLine -name \*.h -print | xargs headerdoc2html -o headerDoc

gatherheaderdoc headerDoc

exit 0

Top