TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Oct 2016 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Aura Otsuka.
import AURUnlockSlider
let unlockSlider = AURUnlockSlider(frame: CGRectMake(0.0, 0.0, self.view.bounds.size.width * 0.8, 70.0))
self.view.addSubview(unlockSlider)
unlockSlider.delegate = self
func unlockSliderDidUnlock(snapSwitch: AURUnlockSlider) {
}
unlockSlider.sliderText = "Slide to Unlock"
unlockSlider.sliderTextColor = UIColor.whiteColor()
unlockSlider.sliderTextFont = UIFont(name: "HelveticaNeue-Thin", size: 20.0)!
unlockSlider.sliderColor = UIColor.clearColor()
unlockSlider.sliderBackgroundColor = UIColor(red: 231/255, green: 232/255, blue: 226/255, alpha: 0.5)
Available in CocoaPods
pod "AURUnlockSlider"
AURUnlockSlider is available under the MIT license. See the LICENSE file for more info.