toashd / AnimatedSegmentSwitch

Configurable multi-segment switch control written in Swift
MIT License
68 stars 14 forks source link

Added method for setting selected index without animation #4

Closed ifau closed 8 years ago

ifau commented 8 years ago

In some cases it is necessary to set selected index without animation. For example, to customize UITableViewCell after reusing, otherwise thumb will jump every time when appears on screen (as mentioned in #3)

reusing

toashd commented 8 years ago

LGTM 👍

Thanks for your contribution.