21 lines
426 B
Objective-C
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
|