<commit_before><p align="center">
    <img src="https://cdn.rawgit.com/yacir/CollectionViewSlantedLayout/3b5e08c1/Resources/SlantedLayout.svg" alt="CollectionViewSlantedLayout" title="CollectionViewSlantedLayout" width="700"/>
</p>

<p align="center">
    <img src="https://img.shields.io/badge/Swift-4.0-orange.svg" alt="Swift 4.0"/>
    <a href="https://cocoapods.org/pods/CollectionViewSlantedLayout">
        <img src="https://img.shields.io/cocoapods/v/CollectionViewSlantedLayout.svg?style=flat)"/>
    </a>
    <img src="https://img.shields.io/badge/SPM-✔-blue.svg" alt="SMP ready"/>
    <img src="https://img.shields.io/badge/Carthage-✔-blue.svg" alt="Carthage compatible"/>
    <img src="https://img.shields.io/cocoapods/p/YBSlantedCollectionViewLayout.svg?style=flat"/>
    <img src="https://img.shields.io/cocoapods/l/YBSlantedCollectionViewLayout.svg?style=flat"/>
    <a href="https://travis-ci.org/yacir/CollectionViewSlantedLayout">
        <img src="https://travis-ci.org/yacir/CollectionViewSlantedLayout.svg?branch=master"/>
    </a>
    <a href="https://travis-ci.org/yacir/CollectionViewSlantedLayout">
        <img src="https://codecov.io/gh/yacir/CollectionViewSlantedLayout/branch/master/graph/badge.svg"/>
    </a>
</p>

**CollectionViewSlantedLayout** is a subclass of the [UICollectionViewLayout](https://developer.apple.com/documentation/uikit/uicollectionviewlayout) allowing the display of slanted cells in a [UICollectionView](https://developer.apple.com/documentation/uikit/uicollectionview).

<p align="center">
  	<img src="https://user-images.githubusercontent.com/2587473/34458447-9f434c8a-edd3-11e7-98b7-f32b4284268d.gif" alt="CollectionViewSlantedLayout" title="CollectionViewSlantedLayout"> 
</p>

## Features
- [x] Pure Swift 4.
- [x] Works with every UICollectionView.
- [x] Horizontal and vertical scrolling support.
- [x] Dynamic cells height
- [x] Fully Configurable

## Installation

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

```ruby
use_frameworks!
pod "CollectionViewSlantedLayout", '~> 3.0'<commit_msg>Add the codebeat link to the README<commit_after><p align="center">
    <img src="https://cdn.rawgit.com/yacir/CollectionViewSlantedLayout/3b5e08c1/Resources/SlantedLayout.svg" alt="CollectionViewSlantedLayout" title="CollectionViewSlantedLayout" width="700"/>
</p>

<p align="center">
    <img src="https://img.shields.io/badge/Swift-4.0-orange.svg" alt="Swift 4.0"/>
    <a href="https://cocoapods.org/pods/CollectionViewSlantedLayout">
        <img src="https://img.shields.io/cocoapods/v/CollectionViewSlantedLayout.svg?style=flat)"/>
    </a>
    <img src="https://img.shields.io/badge/SPM-✔-blue.svg" alt="SMP ready"/>
    <img src="https://img.shields.io/badge/Carthage-✔-blue.svg" alt="Carthage compatible"/>
    <img src="https://img.shields.io/cocoapods/p/YBSlantedCollectionViewLayout.svg?style=flat"/>
    <img src="https://img.shields.io/cocoapods/l/YBSlantedCollectionViewLayout.svg?style=flat"/>
    <br/>
    <a href="https://travis-ci.org/yacir/CollectionViewSlantedLayout">
        <img src="https://travis-ci.org/yacir/CollectionViewSlantedLayout.svg?branch=master"/>
    </a>
    <a href="https://travis-ci.org/yacir/CollectionViewSlantedLayout">
        <img src="https://codecov.io/gh/yacir/CollectionViewSlantedLayout/branch/master/graph/badge.svg"/>
    </a>
    <a href="https://codebeat.co/projects/github-com-yacir-collectionviewslantedlayout-master">
        <img alt="codebeat badge" src="https://codebeat.co/badges/82e9e61b-8400-4cb9-9465-a151e71b01a3" />
    </a>
</p>

**CollectionViewSlantedLayout** is a subclass of the [UICollectionViewLayout](https://developer.apple.com/documentation/uikit/uicollectionviewlayout) allowing the display of slanted cells in a [UICollectionView](https://developer.apple.com/documentation/uikit/uicollectionview).

<p align="center">
  	<img src="https://user-images.githubusercontent.com/2587473/34458447-9f434c8a-edd3-11e7-98b7-f32b4284268d.gif" alt="CollectionViewSlantedLayout" title="CollectionViewSlantedLayout"> 
</p>

## Features
- [x] Pure Swift 4.
- [x] Works with every UICollectionView.
- [x] Horizontal and vertical scrolling support.
- [x] Dynamic cells height
- [x] Fully Configurable

## Installation

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

```ruby
use_frameworks!
pod "CollectionViewSlantedLayout", '~> 3.0'
{'fraction_non_alphanumeric': 0.15982532751091702, 'fraction_numerical': 0.027292576419213975, 'mean_word_length': 4.957087126137841, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 53, 'https://': 32, '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': '5718405', 'n_tokens_mistral': 1704, 'n_tokens_neox': 1610, 'n_words': 235}