NPFlipButton

Apache 2.0 License
Objective-C
iOS

1 image

Author

Description

This is a simple button with a circle at right, who will animate when changing state.

Features

automatically draw the button and set his text animate the state change Installation

Grab the files in Classes/NPButtonWithFlip, Classes/NPFlipView and put it in your project.

Usage

Instanciate a new NPButtonWithFlip or get it from a Storyboard Configure the parameters:

button.setParameters(borderColor, offColor: offColor, onColor: onColor, flipOffImage: imageOff, flipOnImage: imageOn, text: "Button", textFont: textFont) Small Print

Tags