pod 步骤

 

  1. pod search MJRefresh
  2. cd 文件夹
  3. touch Podfile
  4.  vim Podfile{
    platform :ios, '9.1'
    pod "AFNetworking", "3.0.2"
      }
  5. 键盘输入 i,进入编辑模式,输入

    platform :ios, '7.0' 
    pod 'MBProgressHUD', '~> 0.8'

     

    然后按Esc,并且输入“ :”号进入vim命令模式,然后在冒号后边输入wq

  6. pod install
  7. OK

 

  

 

 

posted @ 2016-01-06 18:19  zhen_zhen  阅读(128)  评论(0编辑  收藏  举报