Skip to content

Thanks! Allows for repeated selection! #246

@zhiqiangbai

Description

@zhiqiangbai

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];
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions