<commit_before># NPButtonFlip

***

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. The code uses ARC, so make sure to turn that on for the files if you're
not already using ARC.

## Usage

Instanciate a new NPButtonWithFlip or get it from a Storyboard
Configure the parameters:
```swift
button.setParameters(borderColor, offColor: offColor, onColor: onColor, flipOffImage: imageOff, flipOnImage: imageOn, text: "Button", textFont: textFont)
```

## Small Print

### Author

[Neopixl](http://www.neopixl.com)

### License
-------------------------

Copyright 2015 Neopixl S.A. - Apache 2.0 licence. <commit_msg>ReadMe updated.<commit_after># NPButtonFlip

***

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

<img src = "https://github.com/neopixl/NPFlipButton/blob/master/Documentation/npflipbutton.gif?raw=true" />


## 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:
```swift
button.setParameters(borderColor, offColor: offColor, onColor: onColor, flipOffImage: imageOff, flipOnImage: imageOn, text: "Button", textFont: textFont)
```

## Small Print

### Author

[Neopixl](http://www.neopixl.com)

### License
-------------------------

Copyright 2015 Neopixl S.A. - Apache 2.0 licence. 
{'fraction_non_alphanumeric': 0.1248548199767712, 'fraction_numerical': 0.006968641114982578, 'mean_word_length': 4.02332361516035, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '435749', 'n_tokens_mistral': 557, 'n_tokens_neox': 524, 'n_words': 192}