HSCenterSlider
Instagram Filters Slider. Easy to use double side center slider, that can show value in (A,B) Range.
Install / Use
/learn @hitendradeveloper/HSCenterSliderREADME
HSCenterSlider
Demo

Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Requirements
| Swift | XCode | Tag/Pod version | | --- | ------------- | ------ | | 5.x | >= 10.x | 2.1.1 | | 4.x | >= 9.x | 2.0.1 | | 3.x | >= 8.x | 2.0.1 |
Installation
HSCenterSlider is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'HSCenterSlider'
How to use?
- Drag the UIView and drop in to the storybaord or XIB
- Give class HSHorizontalCenterSlider or HSVerticleCenterSlider to the view. That's it.
- Your center slider is ready to use in just two steps
More Usage
- Change slider range between any two values, Default range is (-100,100)
slider.rangeValue = HSRange(low: -200, high: 100)
- Get value changes call back during user interaction using delegate method declared in the protocol HSCenterSliderDelegate
func centerSlider(slider: HSCenterSlider, didChange value: Double)
- Change the tint color of prograss view like a native UISlider
slider.tintColor = UIColor.black
Possible Error:
[!] Unable to find a specification for 'HSCenterSlider'
Solution:
pod setup
Author
Hitendra Solanki, hitendra.developer@gmail.com
Find my repositories on Github
Read my blogs on Medium
Connect me via LinkedIn
Follow me on Twitter
License
HSCenterSlider is available under the MIT license. See the LICENSE file for more info.
Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
