1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
| IB_DESIGNABLE @interface EFImageView : UIImageView
@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 BOOL imageScaleAspectFit;
@property (strong, nonatomic, nullable) IBInspectable UIColor *shadowColor;
@property (assign, nonatomic) CGSize shadowOffset;
@property (assign, nonatomic) IBInspectable CGFloat shadowOffsetWidth;
@property (assign, nonatomic) IBInspectable CGFloat shadowOffsetHeight;
@property (assign, nonatomic) IBInspectable CGFloat shadowOpacity;
@property (assign, nonatomic) IBInspectable CGFloat shadowRadius;
@end
|