Skip to content

Commit

Permalink
style: code format
Browse files Browse the repository at this point in the history
  • Loading branch information
runner authored and runner committed Aug 3, 2023
1 parent 8ed5c8f commit c9bc439
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ @implementation UITableView (GrowingNode)
- (NSArray<id<GrowingNode>> *)growingNodeChilds {
NSMutableArray *childs = [NSMutableArray array];
[childs addObjectsFromArray:self.visibleCells];

NSArray<NSIndexPath *> *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];
Expand All @@ -42,7 +42,7 @@ @implementation UITableView (GrowingNode)
[childs addObject:footerView];

Check warning on line 42 in GrowingAutotrackerCore/GrowingNode/Category/UITableView+GrowingNode.m

View check run for this annotation

Codecov / codecov/patch

GrowingAutotrackerCore/GrowingNode/Category/UITableView+GrowingNode.m#L42

Added line #L42 was not covered by tests
}
}];

if (self.tableFooterView) {
[childs addObject:self.tableFooterView];
}
Expand Down

0 comments on commit c9bc439

Please sign in to comment.