<commit_before># HCSStarRatingView

`HCSStarRatingView` is a `UIControl` subclass to easily provide users with a basic star rating interface.

It supports all device resolutions and although it requires no images do render the stars (thanks <a href="http://www.paintcodeapp.com" target=_blank>PaintCode</a>), you can provide custom ones if you so desire.

<img src="https://raw.github.com/hugocampossousa/HCSStarRatingView/master/Assets/demo.gif" width="288" height="394" />

## Installation

### Carthage

```
github "hugocampossousa/HCSStarRatingView"
```

### CocoaPods

```
pod 'HCSStarRatingView', :git => 'https://github.com/hugocampossousa/HCSStarRatingView.git'
```

and run `pod install`

### Manually

You can also install it manually by copying `HCSStarRatingView.{h|m}` into your project or including the project in your own project/workspace, similar to what's being done in `Sample`.

## Usage

### Programatically

Create a new instance and set the properties you desire to customize.

```objective-c<commit_msg>Added use_frameworks information to README. #11<commit_after># HCSStarRatingView

`HCSStarRatingView` is a `UIControl` subclass to easily provide users with a basic star rating interface.

It supports all device resolutions and although it requires no images do render the stars (thanks <a href="http://www.paintcodeapp.com" target=_blank>PaintCode</a>), you can provide custom ones if you so desire.

<img src="https://raw.github.com/hugocampossousa/HCSStarRatingView/master/Assets/demo.gif" width="288" height="394" />

## Installation

### Carthage

```
github "hugocampossousa/HCSStarRatingView"
```

### CocoaPods

```
use_frameworks!

(...)

pod 'HCSStarRatingView', :git => 'https://github.com/hugocampossousa/HCSStarRatingView.git'
```

and run `pod install`

### Manually

You can also install it manually by copying `HCSStarRatingView.{h|m}` into your project or including the project in your own project/workspace, similar to what's being done in `Sample`.

## Usage

### Programatically

Create a new instance and set the properties you desire to customize.

```objective-c
{'fraction_non_alphanumeric': 0.11268939393939394, 'fraction_numerical': 0.006628787878787879, 'mean_word_length': 5.288690476190476, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '1708988', 'n_tokens_mistral': 696, 'n_tokens_neox': 650, 'n_words': 215}