VerticalSlider alternatives and similar libraries
Based on the "Slider" category.
Alternatively, view VerticalSlider 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
CodeRabbit: AI Code Reviews for Developers
* 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 VerticalSlider or a related project?
README
🎚VerticalSlider
If you like VerticalSlider, give it a ★ at the top right of this page.
Hi, I'm Jon Kent and I am an iOS designer, developer, and mobile strategist. I love coffee and play the drums.
Overview
VerticalSlider is a vertically oriented UISlider control embedded in a UIView. As an @IBDesignable
class, it renders vertically in Interface Builder and visual properties of the slider have been exposed in the Attributes Inspector for convenience. The underlying UISlider control can be accessed through VerticalSlider's slider
property.
Check out the example project to see it in action!
Requirements
- [x] Xcode 10.
- [x] Swift 4.2.
- [x] iOS 10 or higher.
Installation
CocoaPods
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
To integrate VerticalSlider into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
pod 'VerticalSlider'
Then, run the following command:
$ pod install
Usage
Storyboard Implementation
Create a View for a VerticalSlider. Set the custom class of the View to be
VerticalSlider
in the Identity Inspector. Interface Builder should update the view to show a VerticalSlider. [](etc/Screenshot1.png)Configure VerticalSlider's properties any way you like! [](etc/Screenshot2.png)
Code Implementation
First:
import VerticalSlider
Next, declare your VerticalSlider at the top of your View Controller and link it in Interface Builder:
@IBOutlet var verticalSlider: VerticalSlider!
You can link any @IBAction
to Interface Builder events or you can programmatically respond to events the same way you do with the standard UISlider
control.
Programmatic example - in your View Controller's viewDidLoad
event:
verticalSlider.addTarget(self, action: #selector(sliderChanged), for: .valueChanged)
Then add the method that will be called when the slider's value changes:
func sliderChanged() {
// your code here
print(verticalSlider.value)
}
That's it.
Code
This is a simple library contained in a single file. If you prefer to add it manually instead of taking a dependency, here's the code.
License
VerticalSlider is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the VerticalSlider README section above
are relevant to that project's source code only.