cocoaPod
2017-08-21 本文已影响0人
有梦想的鸟
cocoaPod基本写法
platform :ios, '8.0'
xcodeproj 'Demo.xcodeproj'
target :Demo1 do
pod 'AFNetworking', '~> 2.5.4'
pod 'MJRefresh', '~> 2.3.2'
end
网上的
常用的第三方库搜集
ADTransitionController(ADTransitionController 实现多种视图切换动画。包括滑动、旋转、淡出、交换、回形针等)
- 使用基本步骤
CocoaPods- Add pod 'ADTransitionController' to your Podfile
- In your terminal run $ pod install and open your workspace $ open yourApp.xcworkspace
- Import <ADTransitionController.h> in your project
MJRefresh(下拉刷新、加载更多)
- How to use MJRefresh
- Installation with CocoaPods:pod 'MJRefresh'
- Manual import:#import "MJRefresh.h"
MJExtension(MJExtension是一套字典和模型之间互相转换的超轻量级框架)
pod 'MJExtension'
AFNetworking(网络连接)
pod 'AFNetworking', '~> 3.0'
IQKeyboardManager(键盘防止遮挡)
pod 'IQKeyboardManager'
SDWebImage(网络图片加载框架)
pod 'SDWebImage', '~>3.8'
SVProgressHUD(提示框架)
pod 'SVProgressHUD'
pop
pod ‘pop’
Canvas
pod 'Canvas', '~> 0.1.2'