cocoapods管理第三方库,详见cocoapods安装及使用

OC代码风格需要规范,所有第三方依赖需要用cocoapods管理。代码风格需要:

1. pod 'CodeFormatter', :git => 'https://xxxxx.yyy.zzz/CodeFormatter.git'//所依赖的官方代码风格git地址

2.pod 'xxxxx',:git =>'第三方库的git地址'

2. “pod install”之后执行“Pods/CodeFormatter/setup-repo.sh”,

3. “Pods/CodeFormatter/format-objc-files-in-repo.sh

转载于:https://www.cnblogs.com/tryFighting/p/9641096.html

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐