Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions GCPlaceholderTextView/GCPlaceholderTextView.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@

#import <UIKit/UIKit.h>


IB_DESIGNABLE
@interface GCPlaceholderTextView : UITextView

@property(nonatomic, strong) NSString *placeholder;
@property(nonatomic, strong) IBInspectable NSString *placeholder;

@property (nonatomic, strong) IBInspectable UIColor *realTextColor; //UI_APPEARANCE_SELECTOR
@property (nonatomic, strong) IBInspectable UIColor *placeholderColor; //UI_APPEARANCE_SELECTOR

@property (nonatomic, strong) UIColor *realTextColor UI_APPEARANCE_SELECTOR;
@property (nonatomic, strong) UIColor *placeholderColor UI_APPEARANCE_SELECTOR;
// I don't know what's 'UI_APPEARANCE_SELECTOR' means,
// but if i don't remove it,
// `realTextColor` and `placeholderColor` property won't show in the Storyboard;

@end