BBAMultiTabItemView.h
1.49 KB
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
34
35
36
37
38
39
40
41
42
//
// BBAMultiTabItemView.h
// BBAUIKit
//
// Created by liyongrui on 2018/12/14.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
/**********************************************************************
* BBAMultiTabItem
**********************************************************************/
@interface BBAMultiTabItemView: UIView
@property (nonatomic, strong) UIButton *clickButton;
@property (nonatomic, strong) UIImageView *iconImageView; // icon图标
@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, copy, nullable) NSString *iconUrl; // tab活动配置
@property (nonatomic, assign) BOOL showIcon; // 是否满足显示icon条件
@property (nonatomic, assign, getter=isSelected) BOOL selected;
@property (nonatomic, copy) NSString *text;
@property (nonatomic, assign) CGFloat textFontSize;
@property (nonatomic, assign) CGFloat selectScale;
@property (nonatomic, strong) UIColor *normalColor;
@property (nonatomic, strong) UIColor *selectColor;
@property (nonatomic, assign, getter=isSelectedBold) BOOL selectedBold; //是否选中态粗体
@property (nonatomic, strong) UIFont *normalfont;
@property (nonatomic, strong) UIFont *selectedfont;
@property (nonatomic, assign) CGFloat picWidth;
@property (nonatomic, copy, nullable) NSString *picUrl;
/// 默认值0 负值标题向上移动 正值标题向下移动
@property (nonatomic, assign) CGFloat titleTopMargin;
- (void)showSmartSortAnimationComplete:(void (^)(BOOL))completion;
@end
NS_ASSUME_NONNULL_END