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

Thanks! Allows for repeated selection! #246

Open
zhiqiangbai opened this issue Nov 14, 2016 · 0 comments
Open

Thanks! Allows for repeated selection! #246

zhiqiangbai opened this issue Nov 14, 2016 · 0 comments
Labels

Comments

@zhiqiangbai
Copy link

Thanks!
I am looking forward to adding a property that allows for repeated selection.
eg:
@Property(nonatomic, getter = isRepeatSelectedEnabled) BOOL repeatSelectedEnabled;

then use in here:

    if ((self.isRepeatSelectedEnabled ? : segment != self.selectedSegmentIndex) && segment < sectionsCount) {
        // Check if we have to do anything with the touch event
        if (self.isTouchEnabled)
            [self setSelectedSegmentIndex:segment animated:self.shouldAnimateUserSelection notify:YES];
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants