使用CocoaPods管理需要修改的第三方库
1、首先在github上fork一份第三方库的代码,以MJRefresh为例
2、将fork到自己目录下的MJRefrsh代码Clone下来,进行需要的修改,然后提交。提交后可查看到新的提交记录与说明
3、修改Podfile,将pod ‘MJRefresh’的git地址修改为fork后的代码地址:
pod ‘MJRefresh’, :git => ‘https://github.com/zhouyudk/MJRefresh.git’
pod ‘MJRefresh’, :git => ‘https://github.com/zhouyudk/MJRefresh.git’