<commit_before># SZTextView 

[![CI Status](http://img.shields.io/travis/jmeggesto/JMTextView.svg?style=flat)](https://travis-ci.org/jmeggesto/JMTextView)
[![Version](https://img.shields.io/cocoapods/v/JMTextView.svg?style=flat)](http://cocoapods.org/pods/JMTextView)
[![License](https://img.shields.io/cocoapods/l/JMTextView.svg?style=flat)](http://cocoapods.org/pods/JMTextView)
[![Platform](https://img.shields.io/cocoapods/p/JMTextView.svg?style=flat)](http://cocoapods.org/pods/JMTextView)

A drop-in UITextView replacement which gives you: a placeholder.

Swift version of [SZTextView](https://github.com/glaszig/SZTextView)

Technically it differs from other solutions in that it tries to work like UITextField's private `_placeholderLabel` so you should not suffer ugly glitches like jumping text views or loads of custom drawing code.

## Requirements

An iOS project running Swift 3.0 or higher. 

## Installation

Either clone this repo and add the project to your Xcode workspace, or use [CocoaPods](http://cocoapods.org)

#### CocoaPods

Add this to you Podfile:

```ruby
use_frameworks!
target "YourXcodeProj" do
  pod 'JMTextView', '~> 0.3.0'

# where "YourXcodeProj" is the name of your project<commit_msg>SZTextView to JMTextView<commit_after># JMTextView 

[![CI Status](http://img.shields.io/travis/jmeggesto/JMTextView.svg?style=flat)](https://travis-ci.org/jmeggesto/JMTextView)
[![Version](https://img.shields.io/cocoapods/v/JMTextView.svg?style=flat)](http://cocoapods.org/pods/JMTextView)
[![License](https://img.shields.io/cocoapods/l/JMTextView.svg?style=flat)](http://cocoapods.org/pods/JMTextView)
[![Platform](https://img.shields.io/cocoapods/p/JMTextView.svg?style=flat)](http://cocoapods.org/pods/JMTextView)

A drop-in UITextView replacement which gives you: a placeholder.

Swift version of [SZTextView](https://github.com/glaszig/SZTextView)

Technically it differs from other solutions in that it tries to work like UITextField's private `_placeholderLabel` so you should not suffer ugly glitches like jumping text views or loads of custom drawing code.

## Requirements

An iOS project running Swift 3.0 or higher. 

## Installation

Either clone this repo and add the project to your Xcode workspace, or use [CocoaPods](http://cocoapods.org)

#### CocoaPods

Add this to you Podfile:

```ruby
use_frameworks!
target "YourXcodeProj" do
  pod 'JMTextView', '~> 0.3.0'

# where "YourXcodeProj" is the name of your project
{'fraction_non_alphanumeric': 0.13360488798370673, 'fraction_numerical': 0.004073319755600814, 'mean_word_length': 5.480211081794195, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 10, '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': '1706629', 'n_tokens_mistral': 907, 'n_tokens_neox': 823, 'n_words': 201}