<commit_before># ANPopUpContainer

[![CI Status](http://img.shields.io/travis/abdallahnh/ANPopUpContainer.svg?style=flat)](https://travis-ci.org/abdallahnh/ANPopUpContainer)
[![Version](https://img.shields.io/cocoapods/v/ANPopUpContainer.svg?style=flat)](http://cocoapods.org/pods/ANPopUpContainer)
[![License](https://img.shields.io/cocoapods/l/ANPopUpContainer.svg?style=flat)](http://cocoapods.org/pods/ANPopUpContainer)
[![Platform](https://img.shields.io/cocoapods/p/ANPopUpContainer.svg?style=flat)](http://cocoapods.org/pods/ANPopUpContainer)

## Example

To run the example project, clone the repo, and run `pod install` from the Example directory first.

## Requirements

## Installation

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

```ruby
pod 'ANPopUpContainer'
```

## Author<commit_msg>Adding How to use to ReadMe<commit_after># ANPopUpContainer

[![CI Status](http://img.shields.io/travis/abdallahnh/ANPopUpContainer.svg?style=flat)](https://travis-ci.org/abdallahnh/ANPopUpContainer)
[![Version](https://img.shields.io/cocoapods/v/ANPopUpContainer.svg?style=flat)](http://cocoapods.org/pods/ANPopUpContainer)
[![License](https://img.shields.io/cocoapods/l/ANPopUpContainer.svg?style=flat)](http://cocoapods.org/pods/ANPopUpContainer)
[![Platform](https://img.shields.io/cocoapods/p/ANPopUpContainer.svg?style=flat)](http://cocoapods.org/pods/ANPopUpContainer)

## Example

To run the example project, clone the repo, and run `pod install` from the Example directory first.

## Requirements

## Installation

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

```ruby
pod 'ANPopUpContainer'
```
## How to use
### Normal Display
```
let storyBoard = UIStoryboard(name: "Main", bundle: nil)
let popUpContainer = storyBoard.instantiateViewController(withIdentifier: "PopUPStoryId") as! ANPopUpContainerViewController
    popUpContainer.parentView = self
let firstView = storyBoard.instantiateViewController(withIdentifier: "FirstPopupStoryBoardId") as! FirstPopupViewController
    firstView.view.frame = CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 220)
    firstView.inPopUpContainer = popUpContainer 
        
 popUpContainer.displayContentController(for: firstView)
 self.present(popUpContainer, animated: true, completion: nil)
 
 ```
 ### Fade Display
 ```
let storyBoard = UIStoryboard(name: "Main", bundle: nil)
let popUpContainer = storyBoard.instantiateViewController(withIdentifier: "PopUPStoryId") as! ANPopUpContainerViewController
    popUpContainer.parentView = self
let firstView = storyBoard.instantiateViewController(withIdentifier: "FirstPopupStoryBoardId") as! FirstPopupViewController
    firstView.view.frame = CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 220)
    firstView.inPopUpContainer = popUpContainer 
        
 popUpContainer.displayContentControllerWithFadeAnimation(for: firstView)
 self.present(popUpContainer, animated: true, completion: nil)
 
 ```
        
## Author
{'fraction_non_alphanumeric': 0.1312, 'fraction_numerical': 0.0032, 'mean_word_length': 6.303738317757009, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '7089714', 'n_tokens_mistral': 1066, 'n_tokens_neox': 1001, 'n_words': 181}