Swift 扩展
CocoaPods 是 Cocoa 项目的依赖管理工具。 您可以使用以下命令安装它
$ gem install cocoapods
要使用 CocoaPods 将 ExtSwift 集成到您的 Xcode 项目中,请在您的 Podfile
中指定它
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
target '<Your Target Name>' do
pod 'ExtSwift', '~> 0.0'
end
然后,运行以下命令
$ pod install
import ExtSwift
待办:您可以在 Playground 中尝试 ExtSwift。
注意
要在 playground 中尝试 ExtSwift,请打开
ExtSwift.xcworkspace
并首先为任何模拟器构建ExtSwift.framework
。
Mr. Míng (@minglq)
ExtSwift 在 MIT 许可证下发布。 有关详细信息,请参见 LICENSE。