File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,5 +28,5 @@ CGFloat ASRoundPixelValue(CGFloat f);
2828ASDISPLAYNODE_EXTERN_C_END
2929
3030@interface NSIndexPath (ASInverseComparison)
31- - (NSComparisonResult )as_inverseCompare : (NSIndexPath *)otherIndexPath ;
31+ - (NSComparisonResult )asdk_inverseCompare : (NSIndexPath *)otherIndexPath ;
3232@end
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ CGFloat ASRoundPixelValue(CGFloat f)
7373
7474@implementation NSIndexPath (ASInverseComparison)
7575
76- - (NSComparisonResult )as_inverseCompare : (NSIndexPath *)otherIndexPath
76+ - (NSComparisonResult )asdk_inverseCompare : (NSIndexPath *)otherIndexPath
7777{
7878 return [otherIndexPath compare: self ];
7979}
Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ - (instancetype)initWithChangeType:(_ASHierarchyChangeType)changeType indexPaths
262262 if (presorted) {
263263 _indexPaths = indexPaths;
264264 } else {
265- SEL sorting = changeType == _ASHierarchyChangeTypeDelete ? @selector (as_inverseCompare : ) : @selector (compare: );
265+ SEL sorting = changeType == _ASHierarchyChangeTypeDelete ? @selector (asdk_inverseCompare : ) : @selector (compare: );
266266 _indexPaths = [indexPaths sortedArrayUsingSelector: sorting];
267267 }
268268 _animationOptions = animationOptions;
@@ -296,7 +296,7 @@ + (void)sortAndCoalesceChanges:(NSMutableArray *)changes ignoringChangesInSectio
296296 }
297297 }
298298
299- SEL sorting = type == _ASHierarchyChangeTypeDelete ? @selector (as_inverseCompare : ) : @selector (compare: );
299+ SEL sorting = type == _ASHierarchyChangeTypeDelete ? @selector (asdk_inverseCompare : ) : @selector (compare: );
300300 [allIndexPaths sortUsingSelector: sorting];
301301
302302 // Create new changes by grouping sorted changes by animation option
You can’t perform that action at this time.
0 commit comments