// // HomeMusicCell.m // smartRhino // // Created by niuzhen on 2020/5/15. // Copyright © 2020 tederen. All rights reserved. // #import "HomeMusicCell.h" @implementation HomeMusicCell - (void)awakeFromNib { [super awakeFromNib]; // Initialization code } - (void)setSelected:(BOOL)selected animated:(BOOL)animated { [super setSelected:selected animated:animated]; // Configure the view for the selected state } + (HomeMusicCell *)configCell:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{ static NSString *cellIdentifer = @"HomeMusicCell"; HomeMusicCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifer]; if (cell == nil) { cell = [[[NSBundle mainBundle] loadNibNamed:@"HomeMusicCell" owner:nil options:nil] objectAtIndex:0]; } return cell; } @end