2019-12-19 17:32:49 +00:00
|
|
|
/*
|
2018-11-01 17:56:41 +00:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2016-09-07 22:37:59 +00:00
|
|
|
*
|
2019-12-19 17:32:49 +00:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2016-09-07 22:37:59 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#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
|