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

相關文章
相關標籤/搜索