Cuberto is a leading digital agency with solid design and development expertise. We build mobile and web products for startups. Drop us a line.
To run the example project, clone the repo, and run pod install
from the Example directory first.
- iOS 9.3+
- Xcode 10
rubber-range-picker is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'rubber-range-picker'
Then run pod install
.
Do not forget to run pod repo update
if spec not found
Set RubberRangePicker
as class for custom view in interface builder, or instantiate it from manualy from code.
Use minimumValue
/maximumValue
to set border values, and lowerValue
/upperValue
to get or set selected values.
Target-action model (valueChanged) can be used to monitor selection changes.
There are some parameters that determine animation behavior, use sample app to check them and find values satisfying your needs.
Cuberto Design, info@cuberto.com
rubber-range-picker is available under the MIT license. See the LICENSE file for more info.