Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to show both min and max values? #57

Open
datomnurdin opened this issue Jul 1, 2015 · 1 comment
Open

How to show both min and max values? #57

datomnurdin opened this issue Jul 1, 2015 · 1 comment

Comments

@datomnurdin
Copy link

As per subject, is it possible? But I'm using swift.

@ks-simakov
Copy link

To set both values:

rangeSlider.setLowerValue(18, upperValue: 21, animated: true)

To track change event:

rangeSlider.addTarget(self, action: "onRangeSliderChange", forControlEvents: UIControlEvents.ValueChanged)

And add func

func onRangeSliderChange() {
        let min = rangeSlider.lowerValue
        let max = rangeSlider.upperValue
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants