onato / UITextView-Placeholder

A missing placeholder for UITextView.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UITextView+Placeholder

CocoaPods

A missing placeholder for UITextView.

Installation

Use CocoaPods.

pod 'UITextView+Placeholder'

Usage

Create UITextView, then set placeholder.

UITextView *textView = [[UITextView alloc] init];
textView.placeholder = @"How are you?";
textView.placeholderColor = [UIColor lightGrayColor]; // optional

Congratulations! You're done.

License

UITextView+Placeholder is under MIT license. See LICENSE for more information.

About

A missing placeholder for UITextView.

License:MIT License


Languages

Language:Objective-C 94.9%Language:Ruby 5.1%