<commit_before># MSPTouchableLabel

![build status](https://travis-ci.org/michaelpace/MSPTouchableLabel.svg)
![CocoaPods](http://img.shields.io/cocoapods/p/MSPTouchableLabel.svg?style=flat)
![CocoaPods](http://img.shields.io/cocoapods/v/MSPTouchableLabel.svg?style=flat)

MSPTouchableLabel is a UILabel subclass which provides a UITableView -like interface for creating interactive labels. It has no dependencies. Run the sample app to see demos, or peek at the .gifs at the bottom of this document.

### Installation

Add `pod "MSPTouchableLabel"` to your Podfile and run `pod install` or `pod update`.

### License

MIT

### Todos

 - Only draw sections of label which have changed since last draw, and potentially following sections if they are moved too.

### See also

 - [TTTAttributedLabel](https://github.com/TTTAttributedLabel/TTTAttributedLabel)

### A few example applications:

Replace text upon tap:

![replace text](http://i.imgur.com/5sxXxBR.gif)

Links:

![links](http://i.imgur.com/zwvMlp2.gif)

Mad libs:

![mad libs](http://i.imgur.com/IzkJmff.gif)

Highlighting:

![highlighting](http://i.imgur.com/vGlygCp.gif)

<commit_msg>update readme 🤓<commit_after># MSPTouchableLabel

![build status](https://travis-ci.org/michaelpace/MSPTouchableLabel.svg)
![CocoaPods](http://img.shields.io/cocoapods/p/MSPTouchableLabel.svg?style=flat)
![CocoaPods](http://img.shields.io/cocoapods/v/MSPTouchableLabel.svg?style=flat)

MSPTouchableLabel is a UILabel subclass which provides a UITableView -like interface for creating interactive labels. It has no dependencies. Run the sample app to see demos, or peek at the .gifs at the bottom of this document.

### Installation

Add `pod "MSPTouchableLabel"` to your Podfile and run `pod install` or `pod update`.

### License

MIT

### See also

 - [TTTAttributedLabel](https://github.com/TTTAttributedLabel/TTTAttributedLabel)

### A few example applications:

Replace text upon tap:

![replace text](http://i.imgur.com/5sxXxBR.gif)

Links:

![links](http://i.imgur.com/zwvMlp2.gif)

Mad libs:

![mad libs](http://i.imgur.com/IzkJmff.gif)

Highlighting:

![highlighting](http://i.imgur.com/vGlygCp.gif)


{'fraction_non_alphanumeric': 0.13317865429234338, 'fraction_numerical': 0.0018561484918793504, 'mean_word_length': 5.03921568627451, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '2154933', 'n_tokens_mistral': 786, 'n_tokens_neox': 751, 'n_words': 183}