IGListKit/Tests/Objects/IGTestInvalidateLayoutObject.h
Nate Stedman 1a44045dce Run lint on IGListKit
Differential Revision: D19141253

fbshipit-source-id: 9ed4c278a91bb48a1f6d33cafa9ce8f21861573d
2019-12-19 09:34:42 -08:00

24 lines
734 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 <Foundation/Foundation.h>
#import <IGListDiffKit/IGListDiffable.h>
#import "IGLayoutTestItem.h"
#import "IGTestObject.h"
#define genInvalidateLayoutObject(key, size) [[IGTestObject alloc] initWithKey:key value:[[IGLayoutTestItem alloc] initWithSize:size]]
@interface IGTestInvalidateLayoutObject : NSObject<IGListDiffable>
- (instancetype)initWithKey:(id)key objects:(NSArray<IGTestObject *> *)objects;
@property (nonatomic, strong, readonly) id key;
@property (nonatomic, strong, readonly) NSArray<IGTestObject *> *objects;
@end