<commit_before># CYHPOPImageButton

CYHPOPImageButton is a library written in Swift 2.0, offering you a cute, bouncy image iOS button (Facebook Messenger stickers-alike), implemented with Facebook [pop](https://github.com/facebook/pop).

[![CI Status](http://img.shields.io/travis/<NAME>/CYHPOPImageButton.svg?style=flat)](https://travis-ci.org/<NAME>/CYHPOPImageButton)
[![Version](https://img.shields.io/cocoapods/v/CYHPOPImageButton.svg?style=flat)](http://cocoapods.org/pods/CYHPOPImageButton)
[![License](https://img.shields.io/cocoapods/l/CYHPOPImageButton.svg?style=flat)](http://cocoapods.org/pods/CYHPOPImageButton)
[![Platform](https://img.shields.io/cocoapods/p/CYHPOPImageButton.svg?style=flat)](http://cocoapods.org/pods/CYHPOPImageButton)


## Try it!

To run the example project, clone the repo, and run `pod install` from the Example directory first.
* Icon credit: [Google Material icons](https://www.google.com/design/icons/)

## Requirements

- iOS 8.0+ 
- Swift 2.0

## Installation

CYHPOPImageButton is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod "CYHPOPImageButton"
```
or with latest update:

```ruby
pod "CYHPOPImageButton", :git => "https://github.com/cyhuang1230/CYHPOPImageButton.git"
```


## Usage
### 1. Import framework.
```swift
import CYHPOPImageButton
```

### 2. Add CYHPOPImageButton to your app.
Apart from a new initailizer`init(image: UIImage)`, CYHPOPImageButton works as same as UIButton.

```swift
let btn = CYHPOPImageButton(image: UIIMAGE_VARIABLE)
view.addSubview(btn)
```

### That's All!

## Author

Hi! I'm <NAME>, currently studying CS in National Chiao Tung University(NCTU;國立交通大學), Taiwan.
This is my first open source project, feel free to contact me `bigexplorations+CYHPOPImageButton[at]gmail.com`! Thanks :)


## License

CYHPOPImageButton is available under the MIT license. See the LICENSE file for more info.<commit_msg>README.md modified.<commit_after># CYHPOPImageButton

CYHPOPImageButton is a library written in Swift 2.0, offering you a cute, bouncy image iOS button (Facebook Messenger stickers-alike), implemented with Facebook [pop](https://github.com/facebook/pop).

[![CI Status](http://img.shields.io/travis/Chien-Yu Huang/CYHPOPImageButton.svg?style=flat)](https://travis-ci.org/Chien-Yu Huang/CYHPOPImageButton)
[![Version](https://img.shields.io/cocoapods/v/CYHPOPImageButton.svg?style=flat)](http://cocoapods.org/pods/CYHPOPImageButton)
[![License](https://img.shields.io/cocoapods/l/CYHPOPImageButton.svg?style=flat)](http://cocoapods.org/pods/CYHPOPImageButton)
[![Platform](https://img.shields.io/cocoapods/p/CYHPOPImageButton.svg?style=flat)](http://cocoapods.org/pods/CYHPOPImageButton)


## Try it!

To run the example project, clone the repo, and run `pod install` from the Example directory first.
* Icon credit: [Google Material icons](https://www.google.com/design/icons/)

## Requirements

- iOS 8.0+ 
- Swift 2.0

## Installation

CYHPOPImageButton is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod "CYHPOPImageButton"
```
or with latest update:

```ruby
pod "CYHPOPImageButton", :git => "https://github.com/cyhuang1230/CYHPOPImageButton.git"
```


## Usage
### 1. Import framework.
```swift
import CYHPOPImageButton
```

### 2. Add CYHPOPImageButton to your app.
Apart from a new initailizer`init(image: UIImage)`, CYHPOPImageButton works as same as UIButton.

```swift
let btn = CYHPOPImageButton(image: UIIMAGE_VARIABLE)
view.addSubview(btn)
```

### 3. That's All!

## Author

Hi! I'm <NAME>, currently studying CS in National Chiao Tung University (NCTU; 國立交通大學), Taiwan.

This is my first open source project, feel free to contact me `bigexplorations+CYHPOPImageButton[at]gmail.com`! Thanks :)


## License

CYHPOPImageButton is available under the MIT license. See the LICENSE file for more info.
{'fraction_non_alphanumeric': 0.13783510369246332, 'fraction_numerical': 0.006322711178553364, 'mean_word_length': 5.537190082644628, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 14, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5116359', 'n_tokens_mistral': 1437, 'n_tokens_neox': 1337, 'n_words': 331}