<commit_before>#Cribble

<p align="left">
	<a href="https://developer.apple.com/swift"><img src="https://img.shields.io/badge/Swift_2.2-compatible-4BC51D.svg?style=flat" alt="Swift 2.2 compatible" /></a>
	<a href="https://github.com/Carthage/Carthage"><img src="https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat" alt="Carthage compatible" /></a>
	<a href="https://cocoapods.org/pods/cribble"><img src="https://img.shields.io/badge/pod-1.0.0-blue.svg" alt="CocoaPods compatible" /></a>
	<img src="https://img.shields.io/badge/platform-iOS-blue.svg?style=flat" alt="Platform iOS" />
	<a href="https://raw.githubusercontent.com/maxsokolov/cribble/master/LICENSE"><img src="http://img.shields.io/badge/license-MIT-blue.svg?style=flat" alt="License: MIT" /></a>
</p>

Cribble - a tool for visual testing iPhone and iPad apps. Every pixel counts.

![Cribble](https://d13yacurqjgara.cloudfront.net/users/108183/screenshots/2804436/gridsystem.png)

## Getting Started

An [example app](Demo) is included demonstrating Cribble's functionality.

#### Basic usage

Simply add the following lines into your app delegate:
```swift
import Cribble

override func motionBegan(motion: UIEventSubtype, withEvent event: UIEvent?) {
	guard motion == .MotionShake else { return }

	Cribble.shared.hidden = !Cribble.shared.hidden
}<commit_msg>add link<commit_after>#Cribble

<p align="left">
	<a href="https://developer.apple.com/swift"><img src="https://img.shields.io/badge/Swift_2.2-compatible-4BC51D.svg?style=flat" alt="Swift 2.2 compatible" /></a>
	<a href="https://github.com/Carthage/Carthage"><img src="https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat" alt="Carthage compatible" /></a>
	<a href="https://cocoapods.org/pods/cribble"><img src="https://img.shields.io/badge/pod-1.0.0-blue.svg" alt="CocoaPods compatible" /></a>
	<img src="https://img.shields.io/badge/platform-iOS-blue.svg?style=flat" alt="Platform iOS" />
	<a href="https://raw.githubusercontent.com/maxsokolov/cribble/master/LICENSE"><img src="http://img.shields.io/badge/license-MIT-blue.svg?style=flat" alt="License: MIT" /></a>
</p>

<a href="https://en.wiktionary.org/wiki/cribble">Cribble</a> - a tool for visual testing iPhone and iPad apps. Every pixel counts.

![Cribble](https://d13yacurqjgara.cloudfront.net/users/108183/screenshots/2804436/gridsystem.png)

## Getting Started

An [example app](Demo) is included demonstrating Cribble's functionality.

#### Basic usage

Simply add the following lines into your app delegate:
```swift
import Cribble

override func motionBegan(motion: UIEventSubtype, withEvent event: UIEvent?) {
	guard motion == .MotionShake else { return }

	Cribble.shared.hidden = !Cribble.shared.hidden
}
{'fraction_non_alphanumeric': 0.17606149341142022, 'fraction_numerical': 0.020497803806734993, 'mean_word_length': 5.326388888888889, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 19, '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': '696575', 'n_tokens_mistral': 1058, 'n_tokens_neox': 976, 'n_words': 172}