<commit_before>HoneycombView
========================

[![Platform](http://img.shields.io/badge/platform-ios-blue.svg?style=flat
)](https://developer.apple.com/iphone/index.action)
[![Language](http://img.shields.io/badge/language-swift-brightgreen.svg?style=flat
)](https://developer.apple.com/swift)
[![License](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat
)](http://mit-license.org)

iOS UIView for Honeycomb layout. 

![sample](Screenshots/HoneycombViewSample1.gif)

## Requirements
- iOS 8.0+
- Swift 1.2+
- ARC

##Installation
TODO

##Usage
The easiest way is to instantiate its class in ViewController, configure it, and add it to a view.
If you want to know more details, see the ViewController of the example project.

- With Images
```swift
  let honeycombView = HoneycombView(frame: CGRectMake(0, 0, view.frame.width, view.frame.height))
  honeycombView.diameter = 160.0
  honeycombView.margin = 1.0
  honeycombView.configrationForHoneycombViewWithImages(images)
  view.addSubview(honeycombView)
        
  honeycombView.animate(duration: 0.5)
```

You can also use from URL(String) with NSCache.

- With Images from URL
```swift
  for i in 0..<30{
    var user = User(id: i, profileImageURL: "https://placeimg.com/100/100/any")
    users.append(user)
  }
        <commit_msg>Update Readme installl via cocoapod<commit_after>HoneycombView
========================

[![Cocoapods Compatible](https://img.shields.io/cocoapods/v/HoneycombView.svg?style=flat)](http://cocoadocs.org/docsets/HoneycombView)
[![Platform](http://img.shields.io/badge/platform-ios-blue.svg?style=flat
)](https://developer.apple.com/iphone/index.action)
[![Language](http://img.shields.io/badge/language-swift-brightgreen.svg?style=flat
)](https://developer.apple.com/swift)
[![License](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat
)](http://mit-license.org)

iOS UIView for Honeycomb layout. 

![sample](Screenshots/HoneycombViewSample1.gif)

## Requirements
- iOS 8.0+
- Swift 1.2+
- ARC

##Installation

####CocoaPods
HoneycombView is available on CocoaPods. Just add the following to your project Podfile:
```
pod 'HoneycombView'
use_frameworks!
```

####Carthage
TODO

####Manually
Add the `HoneycombView.swift` directly into your project.

##Usage
The easiest way is to instantiate its class in ViewController, configure it, and add it to a view.
If you want to know more details, see the ViewController of the example project.

- With Images
```swift
  let honeycombView = HoneycombView(frame: CGRectMake(0, 0, view.frame.width, view.frame.height))
  honeycombView.diameter = 160.0
  honeycombView.margin = 1.0
  honeycombView.configrationForHoneycombViewWithImages(images)
  view.addSubview(honeycombView)
        
  honeycombView.animate(duration: 0.5)
```

You can also use from URL(String) with NSCache.

- With Images from URL
```swift
  for i in 0..<30{
    var user = User(id: i, profileImageURL: "https://placeimg.com/100/100/any")
    users.append(user)
  }
        
{'fraction_non_alphanumeric': 0.15207986688851913, 'fraction_numerical': 0.015973377703826955, 'mean_word_length': 4.693181818181818, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 7, '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': '2665552', 'n_tokens_mistral': 1112, 'n_tokens_neox': 1007, 'n_words': 224}