Skip to content

A simple UISlider subclass that shows additional buffering status.

License

Notifications You must be signed in to change notification settings

raxcat/BufferSlider

Repository files navigation

BufferSlider

CI Status Version License Platform Swift 3.0+ Swift 5.0+ Xcode 8.0+

  • Easily use
  • Easily customize
  • Drop-In replacement
  • Supports Objective-C and Swift
  • @IBDesignable class BufferSlider
    • @IBInspectable property bufferStartValue
      • 0.0 ~ 1.0
    • @IBInspectable property bufferEndValue
      • 0.1 ~ 1.0
    • @IBInspectable property borderColor
    • @IBInspectable property baseColor
    • @IBInspectable property bufferColor
    • @IBInspectable property progressColor
    • @IBInspectable property borderWidth (
    • @IBInspectable property sliderHeight
    • property sliderPosition
    • @IBInspectable property sliderPositionAdaptor for InterfaceBuilder
    • @IBInspectable property roundedSlider
    • @INInspectable property hollow

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

0.2.0

  • iOS SDK 10.0 and later
  • Swift5
  • Xcode 12.0+

0.1.6

  • iOS SDK 10.0 and later
  • Swift3
  • Xcode 8.0+

0.1.5

  • iOS SDK 8.0 ~ 9.0
  • Swift2
  • Xcode 7.0

Installation

BufferSlider is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "BufferSlider"

Author

Feel free to contact me or send any PR.

License

BufferSlider is available under the MIT license. See the LICENSE file for more info.

About

A simple UISlider subclass that shows additional buffering status.

Resources

License

Stars

Watchers

Forks

Packages

No packages published