ran

RangeControl

RangeControl allows to select range values from min to max range.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

51

Maintenance

Last Commit

6mos ago

Contributors

1

Package

Dependencies

0

License

MIT

Categories

Readme

RangeControl

RangeControl is a UIControl element that allows to select control range from min to max values.

ScreenShot

Screenshoot

Getting Started

You can setup RangeControl from code or from storyboard. It also allows you to add custom view to the background.

let imageView = UIImageView(image: UIImage(named: "testImage"))
imageView.contentMode = .scaleAspectFill
imageView.translatesAutoresizingMaskIntoConstraints = false
imageView.clipsToBounds = true
rangeControl.backgroundView.addArrangedSubview(imageView)

You can add block to listen for values update:

rangeControl.onRangeValueChanged = { (low,up) in
            print("Low: \(low) up: \(up)")
        }

Prerequisites

The demo project is included here RangeControlExample.

screenshot1

Requirements

  • iOS 10.0+
  • Xcode 10.1+
  • Swift 4.2+

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Alamofire into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'RangeControl'

Authors

Donations

Any amount you can donate today to support the project would be greatly appreciated.

paypal

License

This project is licensed under the MIT License - see the LICENSE file for details

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100