CHTTextView icon indicating copy to clipboard operation
CHTTextView copied to clipboard

UITextView subclass that adds placeholder support like UITextField has.

CHTTextView

A UITextView subclass which supports placeholder (almost) perfectly in any text and/or font setting.

Screenshot

Prerequisite

  • ARC
  • iOS 6+

Feature

  • Easy to use
  • Position placeholder (almost) perfectly in any text and/or font setting

Installation

Manual

Add CHTTextView.{h,m} to your Xcode project.

CocoaPods

Add pod 'CHTTextView' to your Podfile.

Demo

See the Sample project for more details. In the project, you can change font name and/or size easily. Try and see the result for placeholder.

Thanks

CHTTextView is heavily inspired by and is based on SAMTextView.

Change Log

0.1

  • First release