Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (28 sloc) 692 Bytes
// SSTextView.h
// SSToolkit
// Created by Sam Soffes on 8/18/10.
// Copyright 2010-2011 Sam Soffes. All rights reserved.
@brief UITextView subclass that adds placeholder support like
UITextField has.
@interface SSTextView : UITextView {
NSString *_placeholder;
UIColor *_placeholderColor;
BOOL _shouldDrawPlaceholder;
@brief The string that is displayed when there is no other text in the text view.
The default value is nil.
@property (nonatomic, retain) NSString *placeholder;
@brief The color of the placeholder.
The default is [UIColor lightGrayColor].
@property (nonatomic, retain) UIColor *placeholderColor;
Jump to Line
Something went wrong with that request. Please try again.