Comments (4)
@punitsilversky @iUsmanN version 1.12.0 released to cocoapods and SwiftPM. Thank you.
from rangeuislider.
Hi @iUsmanN and @punitsilversky ,
sorry for the delayed answer. I implemented the requested feature in a new pull request.
#18 Programmatic knobs values change
Can you try to pull the branch of these pull request and test the new feature? You can find a usage example in the ChangeProgrammaticViewController
https://github.com/chicio/RangeUISlider/pull/18/files#diff-e3dcff799e3f78bab4e7980e510f286d. Just a note:
- use
defaultValueLeftKnob
anddefaultValueRightKnob
to set the initial value of the knobs (so when the slider view will be loaded) - use
changeLeftKnob(value:)
andchangeRightKnob(value:)
to set a new value for the knobs programmatically when the slider view is already on screen
I will merge the PR in the next days, any feedback will be appreciated.
PS. remember to โญ๏ธ start โญ๏ธ this repo to support my work. Thank you!!!
from rangeuislider.
Hi @chicio I've Same Issue, I'm unable to set default value for slider Programmatically.
Pls Look into this....
from rangeuislider.
Thanks @chicio,
I've checked your branch code and it is working.
I think you need to merge this branch to master.
If any one need it, they can try it
from rangeuislider.
Related Issues (20)
- Add SwiftLint support
- Add code beat support HOT 1
- rangeNotSelectedColor issue HOT 2
- Issue when change dynamically defaultValueLeftKnob and defaultValueRightKnob HOT 7
- Moving labels under knobs HOT 6
- How to reset Slider HOT 1
- how to reset slider to initial value. HOT 7
- Add iPad build to CI + supported platform ๐ท
- Add codecov support ๐งช
- Can't reset min value HOT 3
- transparent selected and not selected color
- How to define a minimum distance between the two ranges ? HOT 1
- View does not respond if wrapped in a scrollview. HOT 2
- Building for "Any iOS Device (arm64)" fails HOT 3
- Detect Programatic change. HOT 8
- barBorderColor crash HOT 1
- changeLeftKnob(value:), changeRightKnob(value:) and Rxswift is not working.
- Can't I get the minValueSelected and maxValueSelected values directly?
- func changeLeftKnob(value: CGFloat), func changeRightKnob(value: CGFloat) didn't work
- Not working when used as a part of my SwiftUI View. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rangeuislider.