Switch alternatives and similar libraries
Based on the "Switch" category.
Alternatively, view Switch alternatives based on common mentions on social networks and blogs.
paper-switch8.9 0.0 L5 Switch VS paper-switch:octocat: 🎚 RAMPaperSwitch is a Swift material design UI module which paints over the parent view when the switch is turned on. iOS library by @Ramotion
MJMaterialSwitch2.1 0.0 Switch VS MJMaterialSwitchA Customizable Switch UI for iOS, Inspired from Google's Material Design in Swift
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Switch or a related project?
' :::=== ::: === === ::: :::==== :::===== ::: === ' ::: ::: === === ::: :::==== ::: ::: === ' ===== === === === === === === ======== ' === =========== === === === === === ' ====== ==== ==== === === ======= === === '
An iOS switch control implemented in Swift with full Interface Builder support.
To run the demo project:
pod try RoundedSwitch
Either config the switch in the Interface Builder or programatically as follow:
import Switch ... let mySwitch = Switch() mySwitch.leftText = "Windows" mySwitch.rightText = "Mac" mySwitch.rightSelected = true mySwitch.tintColor = UIColor.purple mySwitch.disabledColor = mySwitch.tintColor.withAlphaComponent(0.4) mySwitch.backColor = mySwitch.tintColor.withAlphaComponent(0.05) mySwitch.sizeToFit() mySwitch.addTarget(self, action: #selector(ViewController.switchDidChangeValue(_:)), for: .valueChanged)
Please note that the module name is
Switch. However, when installed with CocoaPods, it is
Please see the Reference Documentation for details.
Add the line below to your Cartfile:
Add the line below to your Podfile:
Add the file [
Switch.swift](Switch.swift) to your project. You are all set.
From version 2.0.0, Swift 3 syntax is used. If your project is still using Swift version 2, please use a UITextField-Navigation version prior to 2.0.0.
pod 'RoundedSwitch', '~> 1.0.3'
github "T-Pham/Switch" ~> 1.0.3
Switch is available under the MIT license. See the [LICENSE](LICENSE) file for more info.
*Note that all licence references and agreements mentioned in the Switch README section above are relevant to that project's source code only.