<commit_before># YHImageViewer

[![Version](https://img.shields.io/cocoapods/v/YHImageViewer.svg?style=flat)](http://cocoapods.org/pods/YHImageViewer)
[![License](https://img.shields.io/cocoapods/l/YHImageViewer.svg?style=flat)](http://cocoapods.org/pods/YHImageViewer)
[![Platform](https://img.shields.io/cocoapods/p/YHImageViewer.svg?style=flat)](http://cocoapods.org/pods/YHImageViewer)

YHImageViewer provides a simple way to show an image on fullscreen.

Minimum features are available. It is still under development.

Issues and PRs are welcome :)

## Screenshot

![Screenshot](https://raw.githubusercontent.com/wiki/hiragram/YHImageViewer/images/screenshot.gif)

## Usage

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

In your ViewController class:

```swift
func imageTapped(recognizer:UITapGestureRecognizer) {
    let imageViewer = YHImageViewer()
    imageViewer.backgroundColor = UIColor.blackColor()
    self.imageViewer = imageViewer
    // ^- This line is required. 
    // If imageViewer is referenced by nothing, 
    // it will be released immediately and window will not appear.
    imageViewer.show(sampleImageView)
}
```

## Installation

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

```ruby
pod "YHImageViewer"
```

## Author

<NAME> / [@hiragram](http://twitter.com/hiragram) / <EMAIL>

Japanese and English are welcome.

## License

YHImageViewer is available under the MIT license. See the LICENSE file for more info.<commit_msg>Fixed readme contents order<commit_after># YHImageViewer

[![Version](https://img.shields.io/cocoapods/v/YHImageViewer.svg?style=flat)](http://cocoapods.org/pods/YHImageViewer)
[![License](https://img.shields.io/cocoapods/l/YHImageViewer.svg?style=flat)](http://cocoapods.org/pods/YHImageViewer)
[![Platform](https://img.shields.io/cocoapods/p/YHImageViewer.svg?style=flat)](http://cocoapods.org/pods/YHImageViewer)

YHImageViewer provides a simple way to show an image on fullscreen.

Minimum features are available. It is still under development.

Issues and PRs are welcome :)

## Screenshot

![Screenshot](https://raw.githubusercontent.com/wiki/hiragram/YHImageViewer/images/screenshot.gif)

## Installation

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

```ruby
pod "YHImageViewer"
```

## Usage

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

In your ViewController class:

```swift
func imageTapped(recognizer:UITapGestureRecognizer) {
    let imageViewer = YHImageViewer()
    imageViewer.backgroundColor = UIColor.blackColor()
    self.imageViewer = imageViewer
    // ^- This line is required. 
    // If imageViewer is referenced by nothing, 
    // it will be released immediately and window will not appear.
    imageViewer.show(sampleImageView)
}
```




## Author

<NAME> / [@hiragram](http://twitter.com/hiragram) / <EMAIL>

Japanese and English are welcome.

## License

YHImageViewer is available under the MIT license. See the LICENSE file for more info.
{'fraction_non_alphanumeric': 0.11958891311118032, 'fraction_numerical': 0.0, 'mean_word_length': 4.787387387387388, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5054544', 'n_tokens_mistral': 1115, 'n_tokens_neox': 1023, 'n_words': 260}