Permalink
Browse files

Improve text view placeholder handling

  • Loading branch information...
1 parent 37116a4 commit 7cab107387904321d1489f46df13b0797505e0f1 @soffes committed Apr 17, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 SSToolkit/SSTextView.m
View
@@ -27,6 +27,12 @@ - (void)setText:(NSString *)string {
}
+- (void)insertText:(NSString *)string {
+ [super insertText:string];
+ [self setNeedsDisplay];
+}
+
+
- (void)setPlaceholder:(NSString *)string {
if ([string isEqual:_placeholder]) {
return;

0 comments on commit 7cab107

Please sign in to comment.