TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | Apache 2 |
ReleasedLast Release | Jan 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Neopixl S.A., Yvan Moté, Glibert Axel.
This is a simple button with a circle at right, who will animate when changing state.
Embedded frameworks require a minimum deployment target of iOS 8.
To use NPFlipButton with a project targeting iOS 7, you must include the files in
Classes/NPButtonWithFlip
andClasses/NPFlipView
directly in your project.
Import NPFlipButton
import NPFlipButton
Instantiate a new NPButtonWithFlip or get it from a Storyboard Configure the parameters:
button.setParameters(borderColor: borderColor, offColor: offColor, onColor: onColor, flipOffImage: imageOff, flipOnImage: imageOn, text: "Button", textFont: textFont)
Copyright 2015 Neopixl S.A. - Apache 2.0 licence.