Open Source Swift Component For Creating Customizable Two-Option Segmented Controls

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:

DGRunkeeperSwitch

You can find DGRunkeeperSwitch on Github here.

A great component for creating custom segmented controls.

Original article: Open Source Swift Component For Creating Customizable Two-Option Segmented Controls

©2015 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *