VSVerticalSlider alternatives and similar libraries
Based on the "Slider" category.
Alternatively, view VSVerticalSlider alternatives based on common mentions on social networks and blogs.
-
Fluid Slider
:octocat:๐ง A slider widget with a popup bubble displaying the precise value selected. Swift UI library made by @Ramotion -
TTRangeSlider
A slider, similar in style to UISlider, but which allows you to pick a minimum and maximum range. -
StepSlider
StepSlider its custom implementation of slider such as UISlider for preset integer values. -
AGCircularPicker
AGCircularPicker is helpful component for creating a controller aimed to manage any calculated parameter -
MultiSlider
UISlider clone with multiple thumbs and values, range highlight, optional snap intervals, optional value labels, either vertical or horizontal. -
CircularSlider
A powerful Circular Slider. It's written in Swift, it's 100% IBDesignable and all parameters are IBInspectable. -
VolumeControl
VolumeControl is a custom volume control for iPhone featuring a well-designed round slider. -
GraduatedSlider
A UISlider-like control with graduations (e.g. like sliders on DJ decks), can be used vertically or horizontally, optional haptic feedback
InfluxDB - Purpose built for real-time analytics at any scale.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of VSVerticalSlider or a related project?
README
VerticalSlider
An animatable and customizable vertical slider written in Swift 4.
Quick Start
VerticalSliderPlayground
- Clone Repo
- Open VSVerticalSlider.xcworkspace
- In the file navigator open VSVerticalSliderPlayground
- Build with iPhone 8 set as device
- Open assistent editor and set to Live View
For more information on interactive playgrounds read this blog post by Apple Developer
Sample Project
- Clone Repo
- Open VSVerticalSliderSample.xcworkspace
- Build and run.
Installation
CocoaPods
VSVerticalSlider
can be installed with CocoaPods by adding this to your Podfile
:
platform :ios, โ10.0โ
target 'VerticalSliderSample' do
use_frameworks!
pod 'VSVerticalSlider', :git => 'https://github.com/vsmithers1087/VerticalSlider.git'
end
Setup
- Create
VSVerticalSlider
with height, color, and optionalx, y
offsets - Set the slider's delegate to self
Add to your UIView
override func viewDidLoad() { super.viewDidLoad() setupSlider() } private func setupSlider() { let slider = VSVerticalSlider(height: 500.0 - 13, primaryColor: UIColor.red, offsetX: 20, offsetY: 40.0) slider.delegate = self view.addSubview(slider) }
Conforming to VerticalSliderDelegate
Receive a callback everytime the slider value changes
extension ViewController: VSVerticalSliderDelegate { func valueDidChange(value: Int) { percentageLabel.text = "\(value) %" } }
Setting Slider Value
//A value between 0 and 100 let newValue = 51 slider.setValue(newValue)
Todo
- [x] Add Readme
- [ ] Setup With Storyboards
- [ ] Carthage Support
- [ ] Unit Tests
Prerequisites
- Xcode 9.0 +
- Swift 4.0 +
- iOS 10.0 +
Contributing
All feedback and suggestions are welcome. If you see an issue, would like to make a change, or add a feature please make a pull request.
License
VerticalSlider
is released under the [MIT License](LICENSE).
*Note that all licence references and agreements mentioned in the VSVerticalSlider README section above
are relevant to that project's source code only.