<commit_before># TableViewTools

[![CI Status](http://img.shields.io/travis/<NAME>/TableViewTools.svg?style=flat)](https://travis-ci.org/<NAME>/TableViewTools)
[![Version](https://img.shields.io/cocoapods/v/TableViewTools.svg?style=flat)](http://cocoapods.org/pods/TableViewTools)
[![License](https://img.shields.io/cocoapods/l/TableViewTools.svg?style=flat)](http://cocoapods.org/pods/TableViewTools)
[![Platform](https://img.shields.io/cocoapods/p/TableViewTools.svg?style=flat)](http://cocoapods.org/pods/TableViewTools)
[![carthage compatible](https://img.shields.io/badge/Carthage-compatible-blue.svg)](https://github.com/Carthage/Carthage) 

## Overview

This repo contains the powerful tool for making your UITableView usage simply and comfortable! It allows you to move your UITableView configuration logic to separated objects, such as inheritors of TableViewSectionItemProtocol and TableViewCellItemProtocol, and simply register, add and remove cells from your table view.

## Example

To run the example project, run `pod try`, or simply clone the repo and open project Example-iOS.

## Requirements

## Installation
### CocoaPods

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

```ruby
pod "TableViewTools"
```

Then run `pod install` command. For details of the installation and usage of CocoaPods, visit [its official website](https://cocoapods.org).

### Carthage

To install TableViewTools using Carthage, add the following lines to your `Cartfile`:

```ruby
github "Rosberry/TableViewTools"
```

Then run `carthage update --platform iOS` command. For details of the installation and usage of Carthage, visit [its  repo website](https://github.com/Carthage/Carthage).

---

## Basic usage

### Creating manager

```swift
	manager = TableViewManager(tableView: tableView)

```

### Creating section with header and footer title

```swift
	let titles = ["Item 1", "Item 2", "Item 3"]
    var cellItems = [ExampleTableViewCellItem]()
    titles.forEach { title in
        let cellItem = ExampleTableViewCellItem(title: title)
        cellItems.append(cellItem)
    }
    
    let sectionItem = TableViewSectionItem(cellItems: cellItems)
    manager.sectionItems = [sectionItem]

```
<commit_msg>Remove header and footer from description<commit_after># TableViewTools

[![CI Status](http://img.shields.io/travis/<NAME>/TableViewTools.svg?style=flat)](https://travis-ci.org/<NAME>/TableViewTools)
[![Version](https://img.shields.io/cocoapods/v/TableViewTools.svg?style=flat)](http://cocoapods.org/pods/TableViewTools)
[![License](https://img.shields.io/cocoapods/l/TableViewTools.svg?style=flat)](http://cocoapods.org/pods/TableViewTools)
[![Platform](https://img.shields.io/cocoapods/p/TableViewTools.svg?style=flat)](http://cocoapods.org/pods/TableViewTools)
[![carthage compatible](https://img.shields.io/badge/Carthage-compatible-blue.svg)](https://github.com/Carthage/Carthage) 

## Overview

This repo contains the powerful tool for making your UITableView usage simply and comfortable! It allows you to move your UITableView configuration logic to separated objects, such as inheritors of TableViewSectionItemProtocol and TableViewCellItemProtocol, and simply register, add and remove cells from your table view.

## Example

To run the example project, run `pod try`, or simply clone the repo and open project Example-iOS.

## Requirements

## Installation
### CocoaPods

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

```ruby
pod "TableViewTools"
```

Then run `pod install` command. For details of the installation and usage of CocoaPods, visit [its official website](https://cocoapods.org).

### Carthage

To install TableViewTools using Carthage, add the following lines to your `Cartfile`:

```ruby
github "Rosberry/TableViewTools"
```

Then run `carthage update --platform iOS` command. For details of the installation and usage of Carthage, visit [its  repo website](https://github.com/Carthage/Carthage).

---

## Basic usage

### Creating manager

```swift
	manager = TableViewManager(tableView: tableView)

```

### Creating section

```swift
	let titles = ["Item 1", "Item 2", "Item 3"]
    var cellItems = [ExampleTableViewCellItem]()
    titles.forEach { title in
        let cellItem = ExampleTableViewCellItem(title: title)
        cellItems.append(cellItem)
    }
    
    let sectionItem = TableViewSectionItem(cellItems: cellItems)
    manager.sectionItems = [sectionItem]

```

{'fraction_non_alphanumeric': 0.12464589235127478, 'fraction_numerical': 0.0013074743952930922, 'mean_word_length': 5.144578313253012, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 16, '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': '1708494', 'n_tokens_mistral': 1473, 'n_tokens_neox': 1382, 'n_words': 378}