From f1dec998792ef686c009f19068950a67732b3e0a Mon Sep 17 00:00:00 2001 From: Rakuyo Date: Wed, 7 Mar 2018 10:10:40 +0800 Subject: [PATCH] fix RKOBaseCell bug. --- RKOTools/RKOBaseCell/RKOBaseCell.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RKOTools/RKOBaseCell/RKOBaseCell.m b/RKOTools/RKOBaseCell/RKOBaseCell.m index 8969d15..2c14e2c 100644 --- a/RKOTools/RKOBaseCell/RKOBaseCell.m +++ b/RKOTools/RKOBaseCell/RKOBaseCell.m @@ -13,7 +13,7 @@ @implementation RKOBaseCell // 快速获取 cell + (instancetype)cell:(UITableView *)tableView { NSString *ID = NSStringFromClass(self); - RKOCell *cell = [tableView dequeueReusableCellWithIdentifier:ID]; + RKOBaseCell *cell = [tableView dequeueReusableCellWithIdentifier:ID]; if (!cell) { [tableView registerClass:self forCellReuseIdentifier:ID]; @@ -26,7 +26,7 @@ + (instancetype)cell:(UITableView *)tableView { // 从xib中获取cell + (instancetype)xibCell:(UITableView *)tableView { NSString *ID = NSStringFromClass(self); - RKOCell *cell = [tableView dequeueReusableCellWithIdentifier:ID]; + RKOBaseCell *cell = [tableView dequeueReusableCellWithIdentifier:ID]; if (!cell) { [tableView registerNib:[UINib nibWithNibName:ID bundle:nil] forCellReuseIdentifier:ID];