Skip to content
This repository was archived by the owner on Sep 6, 2019. It is now read-only.

Commit f1dec99

Browse files
committed
fix RKOBaseCell bug.
1 parent 4744a65 commit f1dec99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RKOTools/RKOBaseCell/RKOBaseCell.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ @implementation RKOBaseCell
1313
// 快速获取 cell
1414
+ (instancetype)cell:(UITableView *)tableView {
1515
NSString *ID = NSStringFromClass(self);
16-
RKOCell *cell = [tableView dequeueReusableCellWithIdentifier:ID];
16+
RKOBaseCell *cell = [tableView dequeueReusableCellWithIdentifier:ID];
1717

1818
if (!cell) {
1919
[tableView registerClass:self forCellReuseIdentifier:ID];
@@ -26,7 +26,7 @@ + (instancetype)cell:(UITableView *)tableView {
2626
// 从xib中获取cell
2727
+ (instancetype)xibCell:(UITableView *)tableView {
2828
NSString *ID = NSStringFromClass(self);
29-
RKOCell *cell = [tableView dequeueReusableCellWithIdentifier:ID];
29+
RKOBaseCell *cell = [tableView dequeueReusableCellWithIdentifier:ID];
3030

3131
if (!cell) {
3232
[tableView registerNib:[UINib nibWithNibName:ID bundle:nil] forCellReuseIdentifier:ID];

0 commit comments

Comments
 (0)