mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
[ASThrashTesting] Some cleanup
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
@import XCTest;
|
||||
#import <AsyncDisplayKit/AsyncDisplayKit.h>
|
||||
|
||||
// Set to 1 to use UITableView and see if the issue still exists.
|
||||
#define USE_UIKIT_REFERENCE 0
|
||||
|
||||
#if USE_UIKIT_REFERENCE
|
||||
@@ -85,7 +86,6 @@ static volatile int32_t ASThrashTestItemNextID = 1;
|
||||
return (self.itemID % 400) ?: 44;
|
||||
}
|
||||
|
||||
|
||||
- (NSString *)description {
|
||||
return [NSString stringWithFormat:@"<Item %lu>", (unsigned long)_itemID];
|
||||
}
|
||||
@@ -299,7 +299,6 @@ static NSInteger ASThrashUpdateCurrentSerializationVersion = 1;
|
||||
@property (nonatomic, strong, readonly) NSMutableArray<NSMutableIndexSet *> *insertedItemIndexes;
|
||||
@property (nonatomic, strong, readonly) NSMutableArray<NSArray <ASThrashTestItem *> *> *insertedItems;
|
||||
|
||||
/// NOTE: `data` will be modified
|
||||
- (instancetype)initWithData:(NSArray<ASThrashTestSection *> *)data;
|
||||
|
||||
+ (ASThrashUpdate *)thrashUpdateWithBase64String:(NSString *)base64;
|
||||
|
||||
Reference in New Issue
Block a user