Get Updates By E-mail 

Article Written By:
Johann Dowa

Swift Based UISwitch And UISegmentedControl Replacement With Easy Customization

  •  
  •  
  •  
  •  
  •  

Late last year I mentioned a custom UI component for creating two option switches with many customization options called DGRunkeeperSwitch.

Here’s an open source Swift based component called BetterSegmentedControl from George Marmaridis that features an easily customizable alternative to UISegmentedControl and UISwitch.

BetterSegmentedControl can be implemented in code or interface builder with the colors, inset, rounding, and inset all easily customized.

Here is an animation from the readme showing different switches created with BetterEgmentedControl:

BetterSegmentedControl

You can find BetterSegmentedControl on Github here.

A nice easy to implement custom segmented control.


  •  
  •  
  •  
  •  
  •  

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