worlddowntown / rangeseekslider Goto Github PK
View Code? Open in Web Editor NEWRangeSeedSlider provides a customizable range slider like a UISlider.
License: MIT License
RangeSeedSlider provides a customizable range slider like a UISlider.
License: MIT License
RangeSeekSlider
to the latest versionRangeSeekSlider
to the latest versionThanks for sharing the code for the range slider.
Could we display the single slider instead of two?
RangeSeekSlider
to the latest versioninsert min and max value in textField to update range slide, and if slide value is changed textfields should also updated
Tried to refresh updated value in Slider not working. But the selectedMinValue and selectedMaxValue is updating, but the slider is not showing correct value.
I've tried different approaches to get the result. But nothing works.
It would be good, if we get a refreshSlider method inside RangeSeekSlider. Let me know, if there's any solutions for this ?
RangeSeekSlider
to the latest versionAny way to access Handle position?
Can we change range labels position top to bottom ?
RangeSeekSlider
to the latest versionI think this is more of a feature request than an issue.
I noticed that you can't programmatically change the min and max values after they've been set initially. It'll be nice if there is an option to do that.
I'm adding a demo project here just in case. It has a slider with min value being 0 and max value is 5. I set the min to 1 and max to 3 in the viewDidLoad
and it appears in the slider correctly.
Then I'm trying to change them to 2 and 4 upon a button tap but nothing's happening.
RangeSeekSlider
to the latest versionSwift Package Manager is not working with Xcode 11.2.1. Steps: File->Swift Package Dependencies->Add...
Expected: package can be added
Actual: Package can't be added
Version 11.2.1 (11B500)
I need sliderLine
layer with open access control to apply custom borderWidth
and borderColor
.
I can make a PR if you want.
hello and thank you for the great library but i have problem i want ask if possible to set min thumb on the right side and max thumb on left side ?
Best Regards
RangeSeekSlider
to the latest versionSwift compiler errors with size(attributes:) which is obsoleted in Swift 4.0
NSFontAttributeName also is obsoleted in Swift 4.0
RangeSeekSlider
to the latest versionHow to RangeSeekSlider inside dynamic prototype tableview cell ?
1.7 - Library version
9.0 - iOS version
3.0 - Swift version
RangeSeekSlider
to the latest versionAfter adding this framework to our application, we are getting the following error when uploading to iTunes Connect (TestFlight beta):
[11:13:20]: [Transporter Error Output]: ERROR ITMS-90056: "This bundle Payload/XXXX.app/Frameworks/RangeSeekSlider.framework is invalid. The Info.plist file is missing the required key: CFBundleVersion."
[11:13:20]: Transporter transfer failed.
[11:13:20]:
[11:13:20]: ERROR ITMS-90056: "This bundle Payload/XXXX.app/Frameworks/RangeSeekSlider.framework is invalid. The Info.plist file is missing the required key: CFBundleVersion."
Framework was installed via Carthage, adding the following to our Cartfile
:
# Used for time sliders
github "WorldDownTown/RangeSeekSlider"
Can we add single left slider only ?
When the min value pointer is at min value and the max value is at max value the between color changes to the grey color.
RangeSeekSlider
to the latest versionRangeSeekSlider.swift:463
let yMiddle: CGFloat = frame.height / 2.0
It should be
let yMiddle: CGFloat = (frame.height - lineHeight) / 2.0
For some reason, the updateValueMethod of the Slider doesn't work to update the values in realtime. Does anyone have an idea how to fix it ?
hi
i want min value be in right hand side and max value in left hand side
how can i do it?
Thank you for this nice, useful component first
Now I wanna to drop shadow on handles but seems I can't do it.
I read the source of RangeSeekSlider, leftHandle and rightHandle both are private so I can't add layer by myself.
Would you add some properties for adding shadow?
RangeSeekSlider
to the latest versionI am using the RangeSeekSlider in a project that uses iOS 12. The slider is embedded in a not expandable collection view cell. When updated to iOS 13 beta, the slider does not respond anymore. I tested it also with other iOS versions and it works as always.
iOS version: iOS 13 beta 6
RangeSeekSlider
to the latest versionSetting handle border and color has no effect. Looks like its property is not even used in the code.
Just define a value for the border properties other than the color used for the handle itself.
RangeSeekSlider
to the latest versionI am trying to make the delegate reactive, in order doing so I use RxCocoa's DelegateProxy. One of the requirement is to make the protocol @objc because of the use of #selector. in This lib, you are using delegate extension to provide a default implementation which is not going to work with @objc.
@objc functions may not currently be in protocol extensions. You could create a base class instead, though that's not an ideal solution. [source](@objc functions may not currently be in protocol extensions. You could create a base class instead, though that's not an ideal solution.)
https://stackoverflow.com/a/39604189/2187976
My changes can be found here: https://github.com/alouanemed/RangeSeekSlider/blob/68a5f97823b44d047329f2811a33e65161851c97/Sources/RangeSeekSliderDelegate.swift
And yet, I am still getting the @objc error when used in my project.
How can we solve this?
Setting value more than 100 not working and dont want to convert into % because of difference into converstion
I have a salary range from 0 to 10000, I want when the user selects 10,000 (maxValue) then the label should show "10,000+"
RangeSeekSlider
to the latest versionI have a custom class that replaces the UIViewController class in order to create a custom navigation bar on every VC that inherits said class. In the viewDidLoad() I have navigationController?.hidesBarsOnSwipe = true which breaks the sliding function. Anyone else able to reproduce the issue?
Thanks!
Xcode 9
RangeSeekSlider
to the latest versionHow to change sliderLineBetweenHandles gradientLayer color and and add shadow on handle image?
For now, we can only set the "Pre"selected max and min value. So if update that value again, the slider won't update. There should be a variable called currentMinValue and currentMaxValue that would update the slider programatically ( it is handy for multiple UI Updates coming from API calls and offline fetches ). And if you want some help with this, i can do it.
Thanks!
RangeSeekSlider
to the latest versionthe example code in Carthage section:
@IBDesignable class CustomRangeSeekSlider: RangeSeedSlider {}
should be
@IBDesignable class CustomRangeSeekSlider: RangeSeekSlider {}
RangeSeekSlider
to the latest versionRangeSeekSlider
to the latest versionhi how can change position rangeSlider to Vertical ??
Is the way to disable TapticEngine.selection.feedback() on sliding?
RangeSeekSlider
to the latest versionAfter setting the disableRange
to true, minLabel still shows up. I guess the following line (469):
minLabel.isHidden = hideLabels
Should read:
minLabel.isHidden = hideLabels || disableRange
Let me know if that's the fix or I am using it wrong and I'll send a PR.
Thank you,
H.
RangeSeekSlider
to the latest versionLatest version on Cocoapods is 1.5.0.
https://github.com/CocoaPods/Specs/tree/d69f13d37c9af9b99757ac6379b0c55aea78beb1/Specs/6/4/d/RangeSeekSlider
Could you please update with latest changes?
Thank you.
I am facing problem with the step
I have set minValue to 1
maxValue to 10
step to 2
on running the app, when I move the slider from selected maxValue of 1, it reaches 2 which I think should be (1 +2 = 3). It reaches upto 10 which I think should not happen. (max 9)
on trying to decrease the value from 2 it won't reach 1 which is true considering the step but in the first hand 2 should never get selected.
Hello there,
I would like to format the slider text (minimum label & maximum label) that are there on the left & right side.
Let me explain scenario.
I am making flight app where I am using this slider
I have filter where I need to select the duration
I have duration as 245 to 510 means 4 hrs 5 min to 8 hr 30 min. What I want to do is show 4 hrs 5 min instead of 245. Any idea how this customization can be done?
I can handle the logic, however I am unable to find a place where I can set text. I have a function ready which will convert integer (245) to string (4 hrs 5 min).
Slider present value is not update
if i write a code in viewdidload its working fine but if same code I call through any function slider Ui is not updated
How to disable sliding?
RangeSeekSlider
to the latest versionThe preview doesn't work in my XIB, and I'm getting this error in Xcode:
file:///Users/tommy/Git/spis/raclette-app/raclette-app/Shared/TableViewCells/PriceRangeCell/PriceRangeTableViewCell.xib: error: IB Designables: Failed to render and update auto layout status for PriceRangeTableViewCell (KGk-i7-Jjw): dlopen(RangeSeekSlider.framework, 1): no suitable image found. Did find:
RangeSeekSlider.framework: required code signature missing for 'RangeSeekSlider.framework'
As I am Assigning the CGFloat value in the viewDidAppear method it does not slide to my given value.
i need index of current value?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.