EFTextField赋予了众多 UITextField所不具备的能力。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| IB_DESIGNABLE @interface EFTextField : UITextField
@property (assign, nonatomic) IBInspectable CGFloat borderWidth;
@property (strong, nonatomic, nullable) IBInspectable UIColor *borderColor;
@property (assign, nonatomic) IBInspectable CGFloat cornerRadius;
@property (strong, nonatomic, nullable) IBInspectable UIColor *debugBGColor;
@property (assign, nonatomic) IBInspectable CGFloat offsetX;
@property (assign, nonatomic) IBInspectable CGFloat offsetY;
@property (strong, nonatomic, nullable) IBInspectable UIColor *placeHolderColor;
@end
|
[这是什么?]