mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Introduce hasAnyRows on Section
This commit is contained in:
@@ -33,6 +33,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
- (void)addRow:(Row *)row;
|
||||
- (void)addRowWithTag:(NSInteger)tag;
|
||||
- (NSInteger)indexOfRowForTag:(NSInteger)tag;
|
||||
- (BOOL)hasAnyRows;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@@ -51,4 +51,9 @@
|
||||
}];
|
||||
}
|
||||
|
||||
- (BOOL)hasAnyRows
|
||||
{
|
||||
return _rows.count > 0;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user