FWTableViewCellClassWrapper
@interface FWTableViewCellClassWrapper : FWViewClassWrapper
Undocumented
-
免注册创建UITableViewCell,内部自动处理缓冲池,默认Default类型
Declaration
Objective-C
- (nonnull __kindof UITableViewCell *)cellWithTableView: (nonnull UITableView *)tableView;
-
免注册alloc创建UITableViewCell,内部自动处理缓冲池,指定style类型
Declaration
Objective-C
- (nonnull __kindof UITableViewCell *) cellWithTableView:(nonnull UITableView *)tableView style:(UITableViewCellStyle)style;
-
免注册alloc创建UITableViewCell,内部自动处理缓冲池,指定style类型,指定reuseIdentifier
Declaration
Objective-C
- (nonnull __kindof UITableViewCell *) cellWithTableView:(nonnull UITableView *)tableView style:(UITableViewCellStyle)style reuseIdentifier:(nonnull NSString *)reuseIdentifier;
-
根据配置自动计算cell高度,不使用缓存,子类可重写
Declaration
Objective-C
- (CGFloat)heightWithTableView:(nonnull UITableView *)tableView configuration:(nonnull FWCellConfigurationBlock)configuration;