<commit_before>InitialsImageView
===================

An easy, helpful UIImageView extension that generates letter initials as a placeholder for user profile images, with a randomized background color

![Example screenshot](http://i.imgur.com/xSBjVQ7.png)

### Installation

##### CocoaPods

Add this spec to your podfile:

`pod "InitialsImageView"`

Check out the [official guide](http://guides.cocoapods.org/using/index.html) for getting started with CocoaPods.

##### Manual

1. Drag the `InitialsImageView.swift` file into your project
2. Enjoy!

### Usage

##### Methods

Call the following methods on any `UIImageView` instance to set the image:

+ `setImageForName(string: String, backgroundColor: UIColor?, circular: Bool, textAttributes: [String: AnyObject]?)`<commit_msg>Update sceenshot<commit_after>InitialsImageView
===================

An easy, helpful UIImageView extension that generates letter initials as a placeholder for user profile images, with a randomized background color

![Example screenshot](https://i.imgur.com/KE8OfrL.png)

### Installation

##### CocoaPods

Add this spec to your podfile:

`pod "InitialsImageView"`

Check out the [official guide](http://guides.cocoapods.org/using/index.html) for getting started with CocoaPods.

##### Manual

1. Drag the `InitialsImageView.swift` file into your project
2. Enjoy!

### Usage

##### Methods

Call the following methods on any `UIImageView` instance to set the image:

+ `setImageForName(string: String, backgroundColor: UIColor?, circular: Bool, textAttributes: [String: AnyObject]?)`
{'fraction_non_alphanumeric': 0.12899106002554278, 'fraction_numerical': 0.0038314176245210726, 'mean_word_length': 5.8130434782608695, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '1805795', 'n_tokens_mistral': 476, 'n_tokens_neox': 441, 'n_words': 156}