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:
You can find RAMPaperSwitch on Github here.
A nice UISwitch replacement with a very slick animation effect.
Original article: A UISwitch Replacement With An Interesting Animated Fill Effect When The Switch Is Turned On
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.
