mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-19 15:28:54 +00:00
Summary: Removing the category entirely (recreated for unit tests and examples). Went through and updated all of Instagram so we don't rely on the category and found a few models that needed cleaning up. Reviewed By: jessesquires Differential Revision: D4206552 fbshipit-source-id: ee8147e8872ea19f6c8bd8072df61eed5bffb6f3
22 lines
546 B
Objective-C
22 lines
546 B
Objective-C
/**
|
|
* Copyright (c) 2016-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
#import "NSString+IGListDiffable.h"
|
|
|
|
@implementation NSString (IGListDiffable)
|
|
|
|
- (id<NSObject>)diffIdentifier {
|
|
return self;
|
|
}
|
|
|
|
- (BOOL)isEqualToDiffableObject:(id<IGListDiffable>)object {
|
|
return [self isEqual:object];
|
|
}
|
|
|
|
@end
|