2016-09-07 22:37:59 +00:00
|
|
|
/**
|
|
|
|
|
* 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 <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
|
|
#import <IGListKit/IGListKit.h>
|
|
|
|
|
|
2017-04-20 21:35:26 +00:00
|
|
|
#define genTestObject(k, v) [[IGTestObject alloc] initWithKey:k value:v]
|
|
|
|
|
|
2016-09-07 22:37:59 +00:00
|
|
|
@interface IGTestObject : NSObject <IGListDiffable, NSCopying>
|
|
|
|
|
|
|
|
|
|
- (instancetype)initWithKey:(id <NSCopying>)key value:(id)value;
|
|
|
|
|
|
|
|
|
|
@property (nonatomic, strong, readonly) id key;
|
|
|
|
|
@property (nonatomic, strong) id value;
|
|
|
|
|
|
|
|
|
|
@end
|