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

UIControlEventTouchUpInside not being called #6

Closed
s1ris opened this issue Mar 6, 2014 · 2 comments
Closed

UIControlEventTouchUpInside not being called #6

s1ris opened this issue Mar 6, 2014 · 2 comments

Comments

@s1ris
Copy link

s1ris commented Mar 6, 2014

This is a great control, being much more smooth and stable than other circular sliders. However, UICircularSlider does not seem to respond to UIControlEventTouchUpInside, making it difficult to determine when the user has finished touching the control. It would be great if your control supported said UIControlEvent, and very helpful as well.

@Zedenem
Copy link
Owner

Zedenem commented Mar 6, 2014

Hi!

Just pulled this: #7

Could you have a look at it and tell me if it's what you need?

Basically, I tried to go one step further (® Nostalgia Critic) by also handling the TouchDown and distinguishing TouchUpInside from TouchUpOutside.

All this is, unlike iOS default UISlider, triggered to the thumb image and not the entire UICircularSlider view frame

@s1ris
Copy link
Author

s1ris commented Mar 6, 2014

Thank you, it works perfectly!

@s1ris s1ris closed this as completed Mar 6, 2014
Zedenem added a commit that referenced this issue Mar 6, 2014
fix #6 Added TouchDown, TouchUpInside and TouchUpOutside actions handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants