<commit_before>##Persei
[![Build Status](https://travis-ci.org/Yalantis/Persei.svg)](https://travis-ci.org/Yalantis/Persei)
[![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/Yalantis/Persei/blob/master/LICENSE)

![Preview](https://github.com/Yalantis/Persei/blob/master/Assets/animation.gif)

Animated top menu for UITableView / UICollectionView / UIScrollView written in Swift!

Made in [Yalantis](https://yalantis.com/?utm_source=github).

Check this [project on Dribbble](https://dribbble.com/shots/1706861-Top-Menu-Animation?list=users&offset=23)

Check this [project on Behance](https://www.behance.net/gallery/20411445/Mobile-Animations-Interactions%20)

## Swift 2.0
Currently we maintain a [branch](https://github.com/Yalantis/Persei/tree/swift_2.0) to provide support for Swift 2.0.

##Requirements

iOS 8.x, Swift 1.1 or 1.2

##Installation

####[CocoaPods](http://cocoapods.org)
```ruby
use_frameworks! 

pod 'Persei', '~> 1.1'
```

*(CocoaPods v0.36 or later required. See [this blog post](http://blog.cocoapods.org/Pod-Authors-Guide-to-CocoaPods-Frameworks/) for details.)*

####[Carthage](http://github.com/Carthage/Carthage)
```ruby
github "Yalantis/Persei" ~> 1.1
```

####Manual Installation
> For application targets that do not support embedded frameworks, such as iOS 7, Persei can be integrated by including source files from the Persei folder directly, optionally wrapping the top-level types into `struct Persei` to simulate a namespace. Yes, this sucks.
<commit_msg>Update README to 2.0 version<commit_after>##Persei
[![Build Status](https://travis-ci.org/Yalantis/Persei.svg)](https://travis-ci.org/Yalantis/Persei)
[![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/Yalantis/Persei/blob/master/LICENSE)

![Preview](https://github.com/Yalantis/Persei/blob/master/Assets/animation.gif)

Animated top menu for UITableView / UICollectionView / UIScrollView written in Swift!

Made in [Yalantis](https://yalantis.com/?utm_source=github).

Check this [project on Dribbble](https://dribbble.com/shots/1706861-Top-Menu-Animation?list=users&offset=23)

Check this [project on Behance](https://www.behance.net/gallery/20411445/Mobile-Animations-Interactions%20)

## Swift 2.0
Starting from 2.0 version Persei uses Swift 2.0. If you're using Swift 1.2 or 1.0, please, user 1.1 version of Persei.

##Requirements

iOS 8.x, Swift 1.2 or 2.0

##Installation

####[CocoaPods](http://cocoapods.org)
```ruby
use_frameworks! 

# Swift 2.0, 2.1
pod 'Persei', '~> 2.0'

# for Swift 1.1, 1.2 
# pod 'Persei', '~> 1.1'
```

*(CocoaPods v0.36 or later required. See [this blog post](http://blog.cocoapods.org/Pod-Authors-Guide-to-CocoaPods-Frameworks/) for details.)*

####[Carthage](http://github.com/Carthage/Carthage)
```ruby
github "Yalantis/Persei" ~> 2.0
```

####Manual Installation
> For application targets that do not support embedded frameworks, such as iOS 7, Persei can be integrated by including source files from the Persei folder directly, optionally wrapping the top-level types into `struct Persei` to simulate a namespace. Yes, this sucks.

{'fraction_non_alphanumeric': 0.15528739282311846, 'fraction_numerical': 0.029850746268656716, 'mean_word_length': 5.0576923076923075, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, 'https://': 15, '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': '435750', 'n_tokens_mistral': 1250, 'n_tokens_neox': 1127, 'n_words': 252}