DragonService 是一个 Swift 库,用于从 Riot Games 的 DataDragon CDN 获取数据。
CocoaPods 是 Cocoa 项目的依赖管理工具。 您可以使用以下命令安装它
$ gem install cocoapods
需要 CocoaPods 1.1+ 才能构建 DragonService。
要使用 CocoaPods 将 DragonService 集成到您的 Xcode 项目中,请在您的 Podfile
中指定它
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '12.0'
use_frameworks!
target '<Your Target Name>' do
pod 'DragonService'
end
然后,运行以下命令
$ pod install
DragonService 在 MIT 许可证下发布。 有关详细信息,请参见 LICENSE。