<commit_before>XLMailBoxContainer
==================

Custom container view controller ala MailBox app.

XLSwipeContainerController is the most important class of the library. Just using this class you can get the same functionality shown on the gif bellow.

XLSwipeContainerController handles a collection of childViewControllers created by the developer and also manages a UISegmentedControl, adding it to the parent UINavigationController and changing the color of it depending on which child view controller is selected.

XLSwipeNavigationController give us the possibility to create the UINavigationController along with the XLSwipeContainerController just passing a list of childViewControllets.

Each childViewController must conform XLSwipeContainerChildItem protocol.

You can use this pod along with [MCSwipeTableViewCell](https://github.com/alikaragoz/MCSwipeTableViewCell) to create an app that looks like MailBox app.

Installation
--------

The easiest way to integrate XLMailBoxContainer in your projects is via [CocoaPods](http://cocoapods.org). 

1. Add the following line in the project's Podfile file.

`pod 'XLMailBoxContainer'`

2. Run the command `pod install` from the Podfile folder directory.

You can also install XLMailBoxContainer manually. We don't recommend this approach at all.
The source files you will need are in XLMailBoxContainer/XL folder. 


Example
--------

Look at AppDelegate.m file.

The first think we should do is create each child viewController.

```objc
// create child view controllers that will be managed by XLSwipeContainerController
MailBoxTableChildViewController * child_1 = [[MailBoxTableChildViewController alloc] initWithStyle:UITableViewStylePlain];
MailBoxChildViewController * child_2 = [[MailBoxChildViewController alloc] init];
MailBoxTableChildViewController * child_3 = [[MailBoxTableChildViewController alloc] initWithStyle:UITableViewStyleGrouped];
MailBoxChildViewController * child_4 = [[MailBoxChildViewController alloc] init];
```<commit_msg>readme fixes.<commit_after>XLMailBoxContainer
==================

Custom container view controller ala MailBox app.

`XLSwipeContainerController` is the most important class of the library. Just using this class you can get the same functionality shown on the gif bellow.

XLSwipeContainerController handles a collection of childViewControllers created by the developer and also manages a UISegmentedControl, adding it to the parent UINavigationController and changing the color of it depending on which child view controller is selected.

`XLSwipeNavigationController` give us the possibility to create the UINavigationController along with the XLSwipeContainerController just passing a list of childViewControllets.

Each childViewController must conform `XLSwipeContainerChildItem` protocol.

You can use this pod along with [MCSwipeTableViewCell](https://github.com/alikaragoz/MCSwipeTableViewCell) to create an app that looks like MailBox app.



<p align="center"><img src="https://raw.github.com/xmartlabs/XLMailBoxContainer/master/example.gif"/></p>


Installation
--------

The easiest way to integrate XLMailBoxContainer in your projects is via [CocoaPods](http://cocoapods.org). 

1. Add the following line in the project's Podfile file.

`pod 'XLMailBoxContainer'`

2. Run the command `pod install` from the Podfile folder directory.

You can also install XLMailBoxContainer manually. We don't recommend this approach at all.
The source files you will need are included in XLMailBoxContainer/XL folder. 


Example
--------

Look at AppDelegate.m file.

The first think we should do is create each child viewController.

```objc
// create child view controllers that will be managed by XLSwipeContainerController
MailBoxTableChildViewController * child_1 = [[MailBoxTableChildViewController alloc] initWithStyle:UITableViewStylePlain];
MailBoxChildViewController * child_2 = [[MailBoxChildViewController alloc] init];
MailBoxTableChildViewController * child_3 = [[MailBoxTableChildViewController alloc] initWithStyle:UITableViewStyleGrouped];
MailBoxChildViewController * child_4 = [[MailBoxChildViewController alloc] init];
```
{'fraction_non_alphanumeric': 0.06573561281001686, 'fraction_numerical': 0.002889477486154587, 'mean_word_length': 5.877483443708609, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 3, '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': '6972111', 'n_tokens_mistral': 1097, 'n_tokens_neox': 1036, 'n_words': 435}