Skip to content

chiahsien/CHTTextView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

UITextView subclass that adds placeholder support like UITextField has.

Resources

License

Stars

Watchers

Forks

Packages

No packages published