<commit_before># JAQDiceView

Click play to watch the video

![Video](http://s27.postimg.org/ovoy8ze7n/dice_Video.jpg)(https://www.youtube.com/watch?v=t8Iq_QZ9XEA&feature=youtu.be)

[![Version](https://img.shields.io/cocoapods/v/JAQDiceView.svg?style=flat)](http://cocoadocs.org/docsets/JAQDiceView)
[![License](https://img.shields.io/cocoapods/l/JAQDiceView.svg?style=flat)](http://cocoadocs.org/docsets/JAQDiceView)
[![Platform](https://img.shields.io/cocoapods/p/JAQDiceView.svg?style=flat)](http://cocoadocs.org/docsets/JAQDiceView)
[![GitHub Issues](http://img.shields.io/github/issues/javierquerol/JAQDiceView.svg?style=flat)](http://github.com/javierquerol/JAQDiceView/issues)

## Usage

To run the example project, clone the repo, and run `pod install` from the Example directory first.

- Add a **JAQDiceView** to your ViewController
- Implement the **JAQDiceProtocol**

```
@interface JAQViewController () <JAQDiceProtocol>
@property (nonatomic, weak) IBOutlet JAQDiceView *playground;
@end

@implementation JAQViewController

- (void)diceView:(JAQDiceView *)view rolledWithFirstValue:(int)firstValue secondValue:(int)secondValue {
	NSLog(@"%i",firstValue+secondValue);
}

- (IBAction)rollDice:(id)sender {
	[self.playground rollTheDice];
}
<commit_msg>changes in readme<commit_after># JAQDiceView

Click play to watch the video

[![Video](http://s27.postimg.org/ovoy8ze7n/dice_Video.jpg)](https://www.youtube.com/watch?v=t8Iq_QZ9XEA&feature=youtu.be)

[![Version](https://img.shields.io/cocoapods/v/JAQDiceView.svg?style=flat)](http://cocoadocs.org/docsets/JAQDiceView)
[![License](https://img.shields.io/cocoapods/l/JAQDiceView.svg?style=flat)](http://cocoadocs.org/docsets/JAQDiceView)
[![Platform](https://img.shields.io/cocoapods/p/JAQDiceView.svg?style=flat)](http://cocoadocs.org/docsets/JAQDiceView)
[![GitHub Issues](http://img.shields.io/github/issues/javierquerol/JAQDiceView.svg?style=flat)](http://github.com/javierquerol/JAQDiceView/issues)

## Usage

To run the example project, clone the repo, and run `pod install` from the Example directory first.

- Add a **JAQDiceView** to your ViewController
- Implement the **JAQDiceProtocol**

```
@interface JAQViewController () <JAQDiceProtocol>
@property (nonatomic, weak) IBOutlet JAQDiceView *playground;
@end

@implementation JAQViewController

- (void)diceView:(JAQDiceView *)view rolledWithFirstValue:(int)firstValue secondValue:(int)secondValue {
	NSLog(@"%i",firstValue+secondValue);
}

- (IBAction)rollDice:(id)sender {
	[self.playground rollTheDice];
}

{'fraction_non_alphanumeric': 0.1627172195892575, 'fraction_numerical': 0.004739336492890996, 'mean_word_length': 6.990536277602524, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 8, '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': '546268', 'n_tokens_mistral': 1040, 'n_tokens_neox': 948, 'n_words': 124}