2020-07-22 cell的快速创建

2020-07-22  本文已影响0人  五角
#import <UIKit/UIKit.h>

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
上一篇 下一篇

猜你喜欢

热点阅读