123456789101112131415161718192021222324252627282930313233343536373839404142 |
- //
- // MineEmptyIntroduceCell.m
- // KulexiuForTeacher
- //
- // Created by 王智 on 2022/6/29.
- //
- #import "MineEmptyIntroduceCell.h"
- @interface MineEmptyIntroduceCell ()
- @property (nonatomic, copy) EmptyIntroduceAction callback;
- @end
- @implementation MineEmptyIntroduceCell
- - (void)awakeFromNib {
- [super awakeFromNib];
- // Initialization code
- self.selectionStyle = UITableViewCellSelectionStyleNone;
- }
- - (void)emptyIntroduceCallback:(EmptyIntroduceAction)callback {
- if (callback) {
- self.callback = callback;
- }
- }
- - (IBAction)createIntroduce:(id)sender {
- if (self.callback) {
- self.callback();
- }
- }
- - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
- [super setSelected:selected animated:animated];
- // Configure the view for the selected state
- }
- @end
|