Categories
Featured iPhone Development Resources iOS UI Controls iPad iPhone Swift

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.