-
Notifications
You must be signed in to change notification settings - Fork 45
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
Request: Star-rating slider #7
Comments
Hi!
Thanks for reaching out. I don't think my library is the one for you. I
think what you want is something like the file I attached. It's a rough
sketch but it should get you started. The hard part will most likely be
when you convert the drag gestures translation to a rating value. I'm a bit
busy right now so I hope this helps
Best Wishes
Kieran
…On Wed, Jan 20, 2021 at 6:30 PM NCrusher ***@***.***> wrote:
I've found a tutorial for making a 5-star rating where each star is a full
star, but I'm having trouble adapting it to use half-star ratings, and I
suspect what I actually need is a slider where the "bar" is a row of 5
stars with an invisible knob, and it fills as you drag across it.
I've attempted it myself based off the code for other customizable
sliders, but I can't quite get it right.
Would you be willing to add something like this to your package?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJDAEYUWKBFLMLG7NEG4K53S25RSBANCNFSM4WLTPBNA>
.
|
Hi thanks so much for responding! I don't think the attachment made it, though. |
Does this link work?
https://gist.github.com/kieranb662/4714bf3733d1dd5746a9f8d358b1715a#file-starratingslider-swift
…Sent from my iPhone
On Jan 20, 2021, at 9:08 PM, NCrusher ***@***.***> wrote:
Hi thanks so much for responding! I don't think the attachment made it, though.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Yes, thank you! I will see what I can do from here! Thank you so much! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've found a tutorial for making a 5-star rating where each star is a full star, but I'm having trouble adapting it to use half-star ratings, and I suspect what I actually need is a slider where the "bar" is a row of 5 stars with an invisible knob, and it fills as you drag across it.
I've attempted it myself based off the code for other customizable sliders, but I can't quite get it right.
Would you be willing to add something like this to your package?
The text was updated successfully, but these errors were encountered: