We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I'm thinking of a new feature: adding a delegate:
@protocol NYSegmentedControlDelegate <NSObject> - (void)segmentedControl:(NYSegmentedControl *)segmentedControl willSelectIndex:(NSUInteger)index ; - (void)segmentedControl:(NYSegmentedControl *)segmentedControl didSelectIndex:(NSUInteger)index ; - (void)segmentedControl:(NYSegmentedControl *)segmentedControl willUnselectIndex:(NSUInteger)index ; - (void)segmentedControl:(NYSegmentedControl *)segmentedControl didUnselectIndex:(NSUInteger)index ; @end
What do you think? Good idea? Easy to implement?
If you are OK, I can do a PR.
The text was updated successfully, but these errors were encountered:
@nealyoung Have you seen my message? Thanks
Sorry, something went wrong.
@colasjojo I'm just facing the exactly same problem as you mentioned above. Have you completed it? Thanks in advance.
Since NYSegmentedControl inherit from UIControl, you can just use UIControlEventValueChanged to get the seg value change.
No branches or pull requests
Hi,
I'm thinking of a new feature: adding a delegate:
What do you think? Good idea? Easy to implement?
If you are OK, I can do a PR.
The text was updated successfully, but these errors were encountered: