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

Don't fire UI action events when calling setOn:animated programmatically #15

Open
zdennis opened this issue Dec 11, 2013 · 0 comments
Open

Comments

@zdennis
Copy link

zdennis commented Dec 11, 2013

Apple's UISwitch doesn't send UI events when calling setOn:animated programmatically. KLSwitch should mimick the same behavior.

From the docs:

Setting the switch to either position does not result in an action 
message being sent.
zdennis added a commit to mhs/KLSwitch that referenced this issue Dec 11, 2013
based on the user interacting with the switch and
not when calling setOn:animated: programmatically.

This makes it consistent with Apple's UISwitch 
behavior. 

[KieranLafferty#15]
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

1 participant