Introduce hasAnyRows on Section

This commit is contained in:
ismailgulek
2020-08-18 12:54:45 +03:00
parent 1aa6ead108
commit 4de20ba916
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -33,6 +33,7 @@ NS_ASSUME_NONNULL_BEGIN
- (void)addRow:(Row *)row;
- (void)addRowWithTag:(NSInteger)tag;
- (NSInteger)indexOfRowForTag:(NSInteger)tag;
- (BOOL)hasAnyRows;
@end
+5
View File
@@ -51,4 +51,9 @@
}];
}
- (BOOL)hasAnyRows
{
return _rows.count > 0;
}
@end