What is RAMPaperSwitch?

RAMPaperSwitch is a drop-in replacement of UISwitch. You just need to set the onTintColor property of the switch, and it will automatically paint over its superview with the selected color. You have ability to set duration of animation instead of default value.

  1. Create a new UISwitch in your storyboard or nib.
  2. Set the class of the UISwitch to RAMPaperSwitch in your Storyboard or nib.
  3. Set onTintColor for the switch
  4. Set duration property programmatically if You want to change animation duration.
  5. Add animation for other views near the switch if need.

Overview

  • Pricing: Free
  • Resource Link: https://github.com/Ramotion/paper-switch
  • Resource Maker: Ramotion
  • Mobile Platform Destination: iOS Apps
  • Mobile Platform Support: Native iOS
  • Programming Languages: Swift
  • iOS Versions Supported: iOS 8.0+, iOS 9.0+, iOS 10.0+, iOS 11.0+, iOS 12.0+
  • CocoaPods: RAMPaperSwitch
  • Carthage: Ramotion/paper-switch