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;
|
|
|
|
|
|
2016-11-18 17:55:17 +00:00
|
|
|
@interface IGTestDelegateController : IGListSectionController <IGListSectionType, IGListDisplayDelegate, IGListWorkingRangeDelegate>
|
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;
|
|
|
|
|
|
2016-09-07 22:37:59 +00:00
|
|
|
@property (nonatomic, copy) void (^itemUpdateBlock)();
|
|
|
|
|
@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;
|
|
|
|
|
|
|
|
|
|
@end
|