mohammed1955/centereduislider
1) `You can use it with storyboard and Programmatically`
Features
You can use it with storyboard and ProgrammaticallyEasy to customize and interactNegative value included
Requirements
- iOS 11.0+
- Xcode 10+
Swift Package Manager
CenterdUISlider is available through Swift Package Manager. To install it, simply go to Xcode under File > Swift Packages > Add Package Dependency...
Manually
If you prefer not to use SPM, you can integrate CenterdUISlider into your project manually.
Usage
Storyboard
You can use CenterdUISlider from storyboard easily By changing the type of a regular UIView into CenterdUISlider and set its Moudle to be CenterdUISlider.
Programmatically
let centerdSlider = CenteredUISlider()
centerdSlider.rangeValue = 50 // The value will be between -25 to 25
centerdSlider.progressColor = .purple
centerdSlider.getSLiderValue = { value in
print(value)
}
License
CenteredUISlider is available under the MIT license. See the LICENSE file for more info.
Package Metadata
Repository: mohammed1955/centereduislider
Default branch: master
README: README.md