// // ClubApplicationTableViewCell.m // DSH // // Created by 张毅成 on 2018/12/28. // Copyright © 2018 WZX. All rights reserved. // #import "ClubApplicationTableViewCell.h" @implementation ClubApplicationTableViewCell - (void)awakeFromNib { [super awakeFromNib]; } + (instancetype)cellWithTableView:(UITableView *)tableView AndIndex:(NSInteger)index { NSString *ID = [NSString stringWithFormat:@"ClubApplicationTableViewCell%ld",(long)index]; ClubApplicationTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:ID]; if (cell == nil) { cell = [[NSBundle mainBundle] loadNibNamed:@"ClubApplicationTableViewCell" owner:self options:nil][index]; } cell.selectionStyle = UITableViewCellSelectionStyleNone; return cell; } - (void)setSelected:(BOOL)selected animated:(BOOL)animated { [super setSelected:selected animated:animated]; // Configure the view for the selected state } - (IBAction)didTouchButton:(UIButton *)sender { if (self.blockDidTouchButton) { self.blockDidTouchButton(sender); } } @end