TOSegmentedControl
TOSegmentedControl copied to clipboard
A segmented control in the style of iOS 13 compatible with previous versions of iOS.
It's quite unintuitive (and undocumented) that by doing: `segmentedControl.selectedSegmentIndex = 0` nothing happens in the UI (actually something happens but it's quite glitchy) and the way it works is by...
Hi, I would like to know if it's possible to use the delegate from `UIPageViewController` to control the X axis movement of this custom `UISegmentedControl`. This allows smooth transitions of...
Allow the control to calculate segment widths based on their contents
I already have a basic version working, but in order to properly support it like the real `UISegmentedControl`, I have to a bit more study on how that stuff works.
Please add support for attributed text, for we can put customized texts on title
* Ability to set an array of reversible items externally. * Ability to set currently selected segmented to reversed or not.
Tried this out, and found that this didn't size correctly in this configuration. It squished whatever is on either side, and the buttons weren't visible.