美文网首页
2020-07-22 cell的快速创建

2020-07-22 cell的快速创建

作者: 五角 | 来源:发表于2020-07-22 18:43 被阅读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
    

    相关文章

      网友评论

          本文标题:2020-07-22 cell的快速创建

          本文链接:https://www.haomeiwen.com/subject/ravtlktx.html