Get Updates By E-mail 

Article Written By:
Johann Dowa

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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments