This is the RX Version of JellySlider compatible with swift 5 with cool new Features and better sliding experience.
- set progressValue programatically
- integrated with RxSwift to bind with your observable
- changed Slider super class from UIView to UIControl, now you can use control events.
A fun replacement for UISlider. The slider uses bezier paths within a CAShapeLayer for the track and slider knob, Sprite Kit for particles, and force touch for expanding the knob when force on the screen changes.
usage:
...
let slider = JellySlider(frame: sliderContaier.bounds)
myFloatDriver.drive(slider.rx.value).disposed(by: disposeBag)
...
Drag and drop Following files from JellySlider+BEKApps
in your Xcode Project:
- JellySlider.swift
- JellySlider+Rx.swift
- SplashParticle.sks
- spark.png
Behrad Kazemi, Behradkzm@gmail.com, bekapps.com
Many thanks to Kyle Zaragoza
JellySlider is available under the MIT license. See the LICENSE file for more info.