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
A segmentIndicator could "refuse" to be selected.
segmentIndicator
There would different colors for the title of such a segmentIndicator.
What do you think?
Otherwise, your lib is great, thanxx!
The text was updated successfully, but these errors were encountered:
roadmap:
-(BOOL)segmentedControl:(NYSegmentedControl *)sc isIndicatorEnabledAtIndex:(NSUInteger)index
----> what do you think?
Sorry, something went wrong.
BETTER idea:
add a delegate for the "should select"
@protocol NYSegmentedControlDelegate <NSObject> - (BOOL)segmentedControl:(NYSegmentedControl *)segmentedControl shouldSelectIndex:(NSUInteger)index ; @end
add a datasourcer for the color
@protocol NYSegmentedControlStyler <NSObject> - (UIColor *)segmentedControl:(NYSegmentedControl *)segmentedControl colorForTitleAtIndex:(NSUInteger)index ; - (UIFont *)segmentedControl:(NYSegmentedControl *)segmentedControl fontForTitleAtIndex:(NSUInteger)index ; @end
What do you think? Good idea? I might need help for managing the case of sliding when a indicator is not selectable.
But for the rest, if you are OK, I can do a PR.
No branches or pull requests
A
segmentIndicator
could "refuse" to be selected.There would different colors for the title of such a segmentIndicator.
What do you think?
Otherwise, your lib is great, thanxx!
The text was updated successfully, but these errors were encountered: