Get Updates By E-mail 

Article Written By:
Johann Dowa

A UISwitch Replacement With An Interesting Animated Fill Effect When The Switch Is Turned On

  •  
  •  
  •  
  •  
  •  

Last week I mentioned a library from Ramotion allowing you to add some interesting animation effects to UITTabBar items.

Here’s another interesting Swift based open source project from Ramotion providing a drop-in replacement for UISwitch that will automatically paint the view the switch contains with an animated circular fill effect called RAMPaperSwitch.

The fill effect flows from the location of the switch, and the is reversed when the switch is turned off.  You can also change the colors of other elements within the switch’s superview to further enhance the effect.

Here’s an animation from the readme showing RAMPaperSwitch in action in the included demo application:

RAMPaperSwitch

You can find RAMPaperSwitch on Github here.

A nice UISwitch replacement with a very slick animation effect.


  •  
  •  
  •  
  •  
  •  

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