From c9bc439a345d8d0473b054791d9596f27312e0e8 Mon Sep 17 00:00:00 2001 From: runner Date: Thu, 3 Aug 2023 03:35:17 +0000 Subject: [PATCH] style: code format --- .../GrowingNode/Category/UITableView+GrowingNode.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GrowingAutotrackerCore/GrowingNode/Category/UITableView+GrowingNode.m b/GrowingAutotrackerCore/GrowingNode/Category/UITableView+GrowingNode.m index 965f432ab..126e64f84 100644 --- a/GrowingAutotrackerCore/GrowingNode/Category/UITableView+GrowingNode.m +++ b/GrowingAutotrackerCore/GrowingNode/Category/UITableView+GrowingNode.m @@ -26,13 +26,13 @@ @implementation UITableView (GrowingNode) - (NSArray> *)growingNodeChilds { NSMutableArray *childs = [NSMutableArray array]; [childs addObjectsFromArray:self.visibleCells]; - + NSArray *indexPaths = self.indexPathsForVisibleRows; NSMutableIndexSet *indexSet = [NSMutableIndexSet indexSet]; for (NSIndexPath *indexPath in indexPaths) { [indexSet addIndex:indexPath.section]; } - [indexSet enumerateIndexesUsingBlock:^(NSUInteger section, BOOL * _Nonnull stop) { + [indexSet enumerateIndexesUsingBlock:^(NSUInteger section, BOOL *_Nonnull stop) { UITableViewHeaderFooterView *headerView = [self headerViewForSection:section]; if (headerView) { [childs addObject:headerView]; @@ -42,7 +42,7 @@ @implementation UITableView (GrowingNode) [childs addObject:footerView]; } }]; - + if (self.tableFooterView) { [childs addObject:self.tableFooterView]; }