mirror of
https://github.com/TencentCloud/TIMSDK.git
synced 2026-10-28 21:51:19 +08:00
31 lines
798 B
Objective-C
31 lines
798 B
Objective-C
//
|
|
// TAddCell.h
|
|
// TUIKit
|
|
//
|
|
// Created by kennethmiao on 2018/10/15.
|
|
// Copyright © 2018年 Tencent. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
typedef NS_ENUM(NSUInteger, TAddCellState) {
|
|
TAddCell_State_UnSelect,
|
|
TAddCell_State_Selected,
|
|
TAddCell_State_Solid,
|
|
};
|
|
|
|
@interface TAddCellData : NSObject
|
|
@property (nonatomic, strong) NSString *identifier;
|
|
@property (nonatomic, strong) NSString *head;
|
|
@property (nonatomic, strong) NSString *name;
|
|
@property (nonatomic, assign) TAddCellState state;
|
|
@end
|
|
|
|
@interface TAddCell : UITableViewCell
|
|
@property (nonatomic, strong) UIImageView *selectImageView;
|
|
@property (nonatomic, strong) UIImageView *headImageView;
|
|
@property (nonatomic, strong) UILabel *nameLabel;
|
|
+ (CGFloat)getHeight;
|
|
- (void)setData:(TAddCellData *)data;
|
|
@end
|