We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
这里的一个*位置放错了, 刚下载下来就报错, [cellsCountArrayPerRow enumerateObjectsUsingBlock:^(NSNumber __nonnull *cellsCount, NSUInteger cellsCountArrayPerRowIdx, BOOL * __nonnull stop) 导致一运行就报错,麻烦改下哦
(void)judgeMoreButtonShowWhenDefaultRowsCount:(NSUInteger)defaultRowsCount { [self.rowsCountPerSection enumerateObjectsUsingBlock:^(id __nonnull obj, NSUInteger idx, BOOL * __nonnull stop) { if ([obj integerValue] > defaultRowsCount) { [self.collectionHeaderMoreBtnHideBoolArray replaceObjectAtIndex:idx withObject:@no]; } else { [self.collectionHeaderMoreBtnHideBoolArray replaceObjectAtIndex:idx withObject:@yES]; } }];
[self.cellsCountArrayPerRowInSections enumerateObjectsUsingBlock:^(id __nonnull cellsCountArrayPerRow, NSUInteger idx, BOOL * __nonnull stop) { NSUInteger __block sum = 0; [cellsCountArrayPerRow enumerateObjectsUsingBlock:^(NSNumber __nonnull *cellsCount, NSUInteger cellsCountArrayPerRowIdx, BOOL * __nonnull stop) { if (cellsCountArrayPerRowIdx < defaultRowsCount) { sum += [cellsCount integerValue]; } else { //|break;| Stop enumerating ;if wanna continue use |return| to Skip this object //http://t.cn/RAsfoAi *stop = YES; return; } }]; [self.firstRowCellCountArray replaceObjectAtIndex:idx withObject:@(sum)]; }]; }
The text was updated successfully, but these errors were encountered:
已经 修复。
Sorry, something went wrong.
No branches or pull requests
这里的一个*位置放错了, 刚下载下来就报错, [cellsCountArrayPerRow enumerateObjectsUsingBlock:^(NSNumber __nonnull *cellsCount, NSUInteger cellsCountArrayPerRowIdx, BOOL * __nonnull stop)
导致一运行就报错,麻烦改下哦
(void)judgeMoreButtonShowWhenDefaultRowsCount:(NSUInteger)defaultRowsCount {
[self.rowsCountPerSection enumerateObjectsUsingBlock:^(id __nonnull obj, NSUInteger idx, BOOL * __nonnull stop) {
if ([obj integerValue] > defaultRowsCount) {
[self.collectionHeaderMoreBtnHideBoolArray replaceObjectAtIndex:idx withObject:@no];
} else {
[self.collectionHeaderMoreBtnHideBoolArray replaceObjectAtIndex:idx withObject:@yES];
}
}];
[self.cellsCountArrayPerRowInSections enumerateObjectsUsingBlock:^(id __nonnull cellsCountArrayPerRow, NSUInteger idx, BOOL * __nonnull stop) {
NSUInteger __block sum = 0;
[cellsCountArrayPerRow enumerateObjectsUsingBlock:^(NSNumber __nonnull *cellsCount, NSUInteger cellsCountArrayPerRowIdx, BOOL * __nonnull stop) {
if (cellsCountArrayPerRowIdx < defaultRowsCount) {
sum += [cellsCount integerValue];
} else {
//|break;| Stop enumerating ;if wanna continue use |return| to Skip this object
//http://t.cn/RAsfoAi
*stop = YES;
return;
}
}];
[self.firstRowCellCountArray replaceObjectAtIndex:idx withObject:@(sum)];
}];
}
The text was updated successfully, but these errors were encountered: