iOS开发~Swift与Cocoapods的使用

基本和objec-C操做一致。ios

配置文件写法:git

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

pod 'GearRefreshControl', '~> 0.2'
pod 'Alamofire', '~> 2.0'
pod 'SwiftyJSON', :git => 'https://github.com/SwiftyJSON/SwiftyJSON.git'
pod 'Kingfisher', '~> 1.6'

github

install便可。orm

相关文章
相关标签/搜索