缓冲滑块
- 容易使用
- 容易自定义
- 即插即用
- 支持 Objective-C 和 Swift
- @IBDesignable 类 BufferSlider
- @IBInspectable 属性 bufferStartValue
- 0.0 ~ 1.0
- @IBInspectable 属性 bufferEndValue
- 0.1 ~ 1.0
- @IBInspectable 属性 borderColor
- @IBInspectable 属性 baseColor
- @IBInspectable 属性 bufferColor
- @IBInspectable 属性 progressColor
- @IBInspectable 属性 borderWidth (
- @IBInspectable 属性 sliderHeight
- 属性 sliderPosition
- @IBInspectable 属性 sliderPositionAdaptor 用于 InterfaceBuilder
- @IBInspectable 属性 roundedSlider
- @INInspectable 属性 hollow
- @IBInspectable 属性 bufferStartValue
使用方法
要运行示例项目,请克隆仓库,并首先从 Example 目录运行 pod install
。
要求
0.1.6
- iOS SDK 10.0 和更高版本
- Swift3
- Xcode 8.0+
0.1.5
- iOS SDK 8.0 ~ 9.0
- Swift2
- Xcode 7.0
安装
BufferSlider 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 文件中:
pod "BufferSlider"
作者
- Raxcat liu,[email protected](个人账户)
- Brian Liu,[email protected](公司账户)
请随时联系我或发送任何公关信息。
许可证
BufferSlider 在 MIT 许可证下提供。有关更多信息,请参阅 LICENSE 文件。