Some time ago I mentioned the NYSegmentedControl component for creating customizable segmented controls.
Here’s an open source Swift based component inspired by the Runkeeper app allowing you to create customizable segmented controls with two options called DGRunKeeperSwitch.
DGRunKeeperSwitch allows you to customize the titles seen within the switch, the fonts, the colors, and the size of the switch. The switch animates neatly as expected between the options.
Here’s an animation from the readme showing DGRunKeeperSwitch in action:
You can find DGRunkeeperSwitch on Github here.
A great component for creating custom segmented controls.