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>
|
|
|
|
|
|
|
|
|
|
@class IGTestObject;
|
|
|
|
|
|
2018-01-29 20:31:19 +00:00
|
|
|
@interface IGTestDelegateController : IGListSectionController <IGListDisplayDelegate, IGListWorkingRangeDelegate, IGListTransitionDelegate>
|
2016-09-07 22:37:59 +00:00
|
|
|
|
2017-03-07 17:22:22 +00:00
|
|
|
@property (nonatomic, strong) IGTestObject *item;
|
2016-09-07 22:37:59 +00:00
|
|
|
|
2017-02-21 23:27:26 +00:00
|
|
|
@property (nonatomic, assign) CGFloat height;
|
|
|
|
|
|
2017-10-26 18:14:11 +00:00
|
|
|
@property (nonatomic, copy) void (^itemUpdateBlock)(void);
|
2016-09-07 22:37:59 +00:00
|
|
|
@property (nonatomic, copy) void (^cellConfigureBlock)(IGTestDelegateController *);
|
2016-11-16 23:15:55 +00:00
|
|
|
@property (nonatomic, assign, readonly) NSInteger updateCount;
|
2016-09-07 22:37:59 +00:00
|
|
|
|
2016-11-16 23:15:55 +00:00
|
|
|
@property (nonatomic, assign) NSInteger willDisplayCount;
|
|
|
|
|
@property (nonatomic, assign) NSInteger didEndDisplayCount;
|
2016-09-07 22:37:59 +00:00
|
|
|
@property (nonatomic, strong) NSCountedSet *willDisplayCellIndexes;
|
|
|
|
|
@property (nonatomic, strong) NSCountedSet *didEndDisplayCellIndexes;
|
|
|
|
|
|
2018-01-29 20:31:19 +00:00
|
|
|
@property (nonatomic, assign) CGPoint initialAttributesOffset;
|
|
|
|
|
@property (nonatomic, assign) CGPoint finalAttributesOffset;
|
|
|
|
|
|
2016-09-07 22:37:59 +00:00
|
|
|
@end
|