‹ Back to CodeTOSegmented
TOSegmentedControl
A reimplementation of UISegmentedControl featuring reversible segments.
TOSegmentedControl is a ground-up rewrite of UISegmentedControl, made to look and behave just like it.
I built it in 2019, when iOS 13 gave UISegmentedControl a much nicer redesign than the one from iOS 7. It started mainly as a backport, so older versions of iOS could have the new look too, but I also added extra features, like tapping the selected segment again to reverse it.
It’s still used in iComics today, where it sits neatly in the iOS 26 toolbar to provide sorting and filtering options for the library.
