iOS关于代码风格问题

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

posted @ 2018-09-13 15:57  tryFighting  阅读(211)  评论(0编辑  收藏  举报