Skip to content

mlsedigital/PrecisionLevelSlider

 
 

Repository files navigation

PrecisionLevelSlider

Carthage compatible

UI component library, such as Apple's Photos app.

Pro

Attributes

The following value attributes are exposed:

  • value : Float
  • minimumValue : Float
  • maximumValue : Float
  • isContinuous : Bool
    • determines if the value updates on the fly while scrubbing through
  • notchCount : Int

The following styling attributes are exposed:

  • longNotchColor : UIColor
  • shortNotchColor : UIColor
  • centerNotchColor : UIColor
  • longNotchSize : CGSize
  • shortNotchSize : CGSize
  • centerNotchSize : CGSize
  • longNotchCornerRadius: CGFloat
  • shortNotchCornerRadius: CGFloat
  • centerNotchCornerRadius: CGFloat
  • longNotchGroup : Int
    • determines how many notches in between would the long notch show up
  • notchSpacing : Float
    • how far apart the notches are
  • notchFont : UIFont?
    • if present, adds a label denoting the value of the long notch
  • applyMask : Bool (default: true)
    • applies the gradient on left and right sides

About

PrecisionLevelSlider

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 84.8%
  • Shell 8.6%
  • Objective-C 6.6%