-
Notifications
You must be signed in to change notification settings - Fork 279
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
Allow control to be deselected #10
Comments
Hmm... that's interesting! It shouldn't be that big of a change but some logic needs to be changed since I'm using an I'm adding this to the TODO list, thanks! |
thanks for the update. Can't wait to get it! |
Has this been implemented? |
@pjebs No, not yet. When I implement something I link the Pull Request it was implemented in. |
@gmarm Any luck? The use case is not unusual. |
@simoami unfortunately not. I understand the need for this and I see it's a popular request, however I haven't had much time for OSS lately. Will do my best to work on it soon. |
Hello,
I have a use-case to allow a new user to select his/her gender. I want the control to be initially deselected to prevent the user from skipping the setup screen with the default "Male" option. SO an empty option would help force the user to select an option. UISegmentedControl allows this:
perhaps you could allow
index
andsetIndex()
to accept -1 as an exception. This is common standard for indexes.The text was updated successfully, but these errors were encountered: