CBTableViewDataSource icon indicating copy to clipboard operation
CBTableViewDataSource copied to clipboard

请问支持xib的cell么。

Open Sky-star opened this issue 9 years ago • 1 comments

Sky-star avatar Aug 05 '16 02:08 Sky-star

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
if (self) {
NSArray *nibs = [[NSBundle mainBundle]loadNibNamed:NSStringFromClass([self class]) owner:nil options:nil];
self = [nibs lastObject];
}

return self;
}

ghost avatar Nov 23 '16 12:11 ghost