停止维护,新版使用bench,兼容性更强,依赖更少,解耦更方便!
XcodeCustom 下的模板安装
sh copyfiles.sh
- 添加自定义模板
- 新建工程 选择bench_ios Application > Custom Single App
- 工程配置 targets > Build Settings > Prefix Header 添加工程预先配置的.pch // add pch '$(SRCROOT)/projectname/projectname-prefix.pch'
- pod 'bench_ios'
To integrate bench_ios into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
target 'TargetName' do
pod 'bench_ios'
end
Then, run the following command:
$ pod install
========
在.pch文件或需要的地方引入
import "ccs.h"