Convenient Kit
一个简单的通用插入式库,旨在简化使用 Foundation 和 UIKit 中的许多默认对象。最初它是为了个人使用而设计的,但后来决定开源以简化您和其他人的编码。
安装
CocoaPods
CocoaPods 是 Cocoa 项目的依赖管理器。您可以使用以下命令安装它:
$ gem install cocoapods
要构建 Convenient Kit,需要 CocoaPods 1.4+。
要使用 CocoaPods 将 Convenient Kit 集成到 Xcode 项目中,请在 Podfile
中指定它
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
target '<Your Target Name>' do
pod 'ConvenientKit'
end
然后,运行以下命令:
$ pod install