File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,8 +26,6 @@ IB_DESIGNABLE
2626@property (nonatomic ) IBInspectable UIColor *defaultPlaceholderColor;
2727
2828@property (nonatomic ) IBInspectable UIColor *placeholderColor;
29- // @property (nonatomic) IBInspectable UIColor *placeholderEditingColor; // defaults to tint color
30- // @property (nonatomic) IBInspectable UIColor *placeholderDisabledColor;
3129
3230/* *
3331 * Defaults to the first applicable font:
@@ -37,17 +35,20 @@ IB_DESIGNABLE
3735@property (nonatomic ) UIFont *placeholderFont;
3836
3937@property (nonatomic ) IBInspectable CGFloat underlineHeight;
38+
4039@property (nonatomic ) IBInspectable CGFloat underlineEditingHeight;
40+
4141@property (nonatomic ) IBInspectable UIColor *underlineColor;
42- // @property (nonatomic) IBInspectable UIColor *underlineEditingColor; // defaults to tint color
4342
4443/* *
4544 * The error message displayed under the text field is the NSError's localized description.
4645 */
4746@property (nonatomic ) NSError *error;
4847
4948@property (nonatomic ) UIFont *errorFont;
49+
5050@property (nonatomic ) IBInspectable UIColor *errorColor;
51+
5152@property (nonatomic ) IBInspectable CGFloat errorPadding;
5253
5354@end
Original file line number Diff line number Diff line change @@ -74,7 +74,6 @@ - (void)setDefaults
7474
7575 self.animatesPlaceholder = YES ;
7676 self.placeholderColor = [UIColor mf_darkGrayColor ];
77- // self.placeholderDisabledColor = [UIColor mf_midGrayColor];
7877 self.placeholderFont = self.defaultPlaceholderFont ;
7978
8079 self.underlineHeight = 1 .0f ;
@@ -589,7 +588,6 @@ - (void)hideErrorLabelAnimated:(BOOL)animated
589588 self.errorLabelTopConstraint .constant = [self topPaddingForErrorLabelHidden: YES ];
590589 self.errorLabelHeightConstraint .active = YES ;
591590 }
592-
593591}
594592
595593- (void )updateErrorLabelText
You can’t perform that action at this time.
0 commit comments