<commit_before># ScratchCard
<img src="https://raw.githubusercontent.com/joehour/ScratchCard/swift3.0/ScratchCard/result.gif" width="307" height="550" />

Requirements
----------

- iOS 8.0+
- Xcode 8.0+ Swift 3


## Installation

#### CocoaPods

Check out [Get Started](https://guides.cocoapods.org/using/getting-started.html) tab on [cocoapods.org](http://cocoapods.org/).

To use ScratchCard in your project add the following 'Podfile' to your project

	pod 'ScratchCard', '~> 1.1.0'

Then run:

    pod install

#### Source Code

Copy the ScratchView.swift and ScratchUIView.swift to your project.

Go ahead and import ScratchCard to your file.


Example<commit_msg>@ fix lag problem (issue 11) CALayer render problem ver 1.1.1<commit_after># ScratchCard
<img src="https://raw.githubusercontent.com/joehour/ScratchCard/swift3.0/ScratchCard/result.gif" width="307" height="550" />

Requirements
----------

- iOS 8.0+
- Xcode 8.0+ Swift 3


## Installation

#### CocoaPods

Check out [Get Started](https://guides.cocoapods.org/using/getting-started.html) tab on [cocoapods.org](http://cocoapods.org/).

To use ScratchCard in your project add the following 'Podfile' to your project

	pod 'ScratchCard', '~> 1.1.1'

Then run:

    pod install

#### Source Code

Copy the ScratchView.swift and ScratchUIView.swift to your project.

Go ahead and import ScratchCard to your file.


Example
{'fraction_non_alphanumeric': 0.13904899135446686, 'fraction_numerical': 0.026657060518731988, 'mean_word_length': 3.9430604982206408, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, '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': '546713', 'n_tokens_mistral': 539, 'n_tokens_neox': 491, 'n_words': 131}