已使用插件
包管理插件:
安装地址: ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins
文档注释:
使用Alactraz包管理插件安装
其他插件参考
文档注释:
"github优秀开源项目大全-iOS"
文档生成
使用appledoc生成文档。
- appledoc安装:
- Xcode和appledoc 集成:
- 利用xcode自动生成项目文档:
- 可执行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生成文档。
- 利用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