From 009c723bc8b6458387652771829e428c289b56fb Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Sat, 16 Nov 2019 15:34:19 +0800 Subject: [PATCH] feat:fix reuseId while iOS needs reuse tablecell --- iOS/Pod/Classes/Shader/DoricListNode.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS/Pod/Classes/Shader/DoricListNode.m b/iOS/Pod/Classes/Shader/DoricListNode.m index 49ba5a11..b4865253 100644 --- a/iOS/Pod/Classes/Shader/DoricListNode.m +++ b/iOS/Pod/Classes/Shader/DoricListNode.m @@ -83,7 +83,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N DoricTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:reuseId ?: @"doriccell"]; if (!cell) { - cell = [[DoricTableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:reuseId]; + cell = [[DoricTableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:reuseId ?: @"doriccell"]; DoricListItemNode *listItemNode = [[DoricListItemNode alloc] initWithContext:self.doricContext]; [listItemNode initWithSuperNode:self]; cell.doricListItemNode = listItemNode;