2020-07-22 cell的快速创建

#import 

NS_ASSUME_NONNULL_BEGIN

@interface TYWJBaseCell : UITableViewCell
+ (instancetype)cellForTableView:(UITableView *)tableView;
-(void)confirgCellWithParam:(id)Param;
@end

NS_ASSUME_NONNULL_END
#import "TYWJBaseCell.h"

@implementation TYWJBaseCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
+ (instancetype)cellForTableView:(UITableView *)tableView
{
    return [TYWJBaseCell new];
}
-(void)confirgCellWithParam:(id)Param{
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end

你可能感兴趣的:(2020-07-22 cell的快速创建)