diff --git a/AsyncDisplayKitTests/ASTableViewThrashTests.m b/AsyncDisplayKitTests/ASTableViewThrashTests.m index 6b8493966e..4289c62984 100644 --- a/AsyncDisplayKitTests/ASTableViewThrashTests.m +++ b/AsyncDisplayKitTests/ASTableViewThrashTests.m @@ -9,6 +9,7 @@ @import XCTest; #import +// 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:@"", (unsigned long)_itemID]; } @@ -299,7 +299,6 @@ static NSInteger ASThrashUpdateCurrentSerializationVersion = 1; @property (nonatomic, strong, readonly) NSMutableArray *insertedItemIndexes; @property (nonatomic, strong, readonly) NSMutableArray *> *insertedItems; -/// NOTE: `data` will be modified - (instancetype)initWithData:(NSArray *)data; + (ASThrashUpdate *)thrashUpdateWithBase64String:(NSString *)base64;