GCPTextView is a subclass of UITextView that provides placeholder support and feedback about content height.
Simply add the files to your XCode project. If you are using Interface Builder, change the class type of any textViews to GCPTextView, and set the file's owner as the delegate, if desired.
An optional delegate that conforms to the <GCPTextViewDelegate> protocol may be assigned. The <GCPTextViewDelegate> protocol itself conforms to <UITextViewDelegate>
The color of the placeholder text defaults to a light gray, but can be changed using the setPlaceholderColor color method.
- textView:(GCPTextView *)textView contentHeightDidChange:(CGFloat)height;
- setPlaceholder:(NSString *)placeholder
- setPlaceholderColor:(UIColor *)color
GCPTextView is available under the MIT license.