Hibit_iOS/Pods/IGListDiffKit/Source/IGListDiffKit/NSNumber+IGListDiffable.m
2024-06-07 11:41:02 +08:00

21 lines
426 B
Objective-C

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import "NSNumber+IGListDiffable.h"
@implementation NSNumber (IGListDiffable)
- (id<NSObject>)diffIdentifier {
return self;
}
- (BOOL)isEqualToDiffableObject:(id<IGListDiffable>)object {
return [self isEqual:object];
}
@end