0%

EFUIKit/EFView.h

Supporting Files/EFUIKit/EFView.h

EFView赋予了众多 UIView所不具备的能力。

2.0~[这是什么?]

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
IB_DESIGNABLE
@interface EFView : UIView

/** 设置边框宽度 */
@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 (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

[这是什么?]