测试已测试 | ✗ |
Lang语言 | SwiftSwift |
许可协议 | MIT |
发布最新发布 | 2016年7月 |
SPM支持 SPM | ✗ |
由 Koji Murata 维护。
要运行示例项目,首先从仓库中克隆,然后从 Example 目录中运行 pod install
。
您可以在 Interface Builder 中为 UIView 设置 HsbSliderView。
@IBAction private func changeColor(sender: HsbSliderView) {
// sender.color
}
或者
hsbSliderView.delegate = self
func hsbSliderView(hsbSliderView: HsbSliderView, didChangeColor color: UIColor) {
// color
}
HsbSliderColorPicker 可通过 CocoaPods 获得。要安装它,请将以下行添加到您的 Podfile 中:
pod "HsbSliderColorPicker"
Koji Murata,[email protected]
HsbSliderColorPicker 可在 MIT 许可协议下获得。有关更多信息,请参阅 LICENSE 文件。