2016-09-07 22:37:59 +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
|
|
|
*
|
2018-05-01 21:33:50 +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>
|
|
|
|
|
|
2019-10-31 15:17:38 +00:00
|
|
|
#import <IGListDiffKit/IGListIndexSetResult.h>
|
2016-09-07 22:37:59 +00:00
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
|
|
@interface IGListIndexSetResult()
|
|
|
|
|
|
|
|
|
|
- (instancetype)initWithInserts:(NSIndexSet *)inserts
|
|
|
|
|
deletes:(NSIndexSet *)deletes
|
|
|
|
|
updates:(NSIndexSet *)updates
|
|
|
|
|
moves:(NSArray<IGListMoveIndex *> *)moves
|
|
|
|
|
oldIndexMap:(NSMapTable<id<NSObject>, NSNumber *> *)oldIndexMap
|
|
|
|
|
newIndexMap:(NSMapTable<id<NSObject>, NSNumber *> *)newIndexMap;
|
|
|
|
|
|
2017-07-12 19:40:16 +00:00
|
|
|
@property (nonatomic, assign, readonly) NSInteger changeCount;
|
|
|
|
|
|
2016-09-07 22:37:59 +00:00
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|