/JellySlider

RxJellySlider

Primary LanguageSwiftMIT LicenseMIT

RxJellySlider

This is the RX Version of JellySlider compatible with swift 5 with cool new Features and better sliding experience.

Added Features:

  • 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.

CI Status License Platform

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.

Demo

Example

usage:

...

let slider = JellySlider(frame: sliderContaier.bounds)
myFloatDriver.drive(slider.rx.value).disposed(by: disposeBag)

...

Installation

Drag and drop Following files from JellySlider+BEKApps in your Xcode Project:

  • JellySlider.swift
  • JellySlider+Rx.swift
  • SplashParticle.sks
  • spark.png

Author

Behrad Kazemi, Behradkzm@gmail.com, bekapps.com

Many thanks to Kyle Zaragoza

License

JellySlider is available under the MIT license. See the LICENSE file for more info.