Skip to content

Commit daf5fcf

Browse files
author
Stephanie Sharp
committed
Remove commented out properties
(these properties haven't been implemented yet)
1 parent 34b1d43 commit daf5fcf

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

MaterialTextField/MFTextField.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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

MaterialTextField/MFTextField.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)