Some time ago I mentioned an open source iOS UI control allowing you to make some great looking custom switches by providing round switches, and color customization called DCRoundSwitch.
Here’s another control called TTSwitch from Two Toasters for making custom switches that allows a deeper level of customization by providing a switch made from images so you can change the shape, coloring and more.
This image illustrates the different layers used to create the switch:
A PSD file is included containing the different images used in creating a basic switch that you can play around with. You’ll also find example images included in the demo project.
You can find TTSwitch on Github here.
On the Github page you’ll find several examples of the other variables you can tweak in customizing buttons with this UI control in addition to changing images.
- Open Source: Non-Annoying UIAlertView Replacement Styled After TweetBot’s Alert Panels
- Open Source Highly Customizable iOS UIPageControl Replacement
- Open Source Completely Customizable iPhone UIAlertView Replacement Control
- Open Source: Easily Customizable Rotary Pie Menu iOS Control
- Drop-In UISegmentedControl Replacement That Mimics Look Of iOS 6 App Store Tabs
Original article: Open Source Control Providing A Highly Customizable Image Based UISwitch Replacement
©2013 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.