2019-12-19 17:32:49 +00:00
|
|
|
/*
|
2023-04-06 09:44:16 +00:00
|
|
|
* Copyright (c) Meta Platforms, Inc. and 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>
|
|
|
|
|
|
2021-09-01 02:22:18 +00:00
|
|
|
#import "IGListIndexPathResult.h"
|
2016-09-07 22:37:59 +00:00
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
|
|
@interface IGListIndexPathResult()
|
|
|
|
|
|
|
|
|
|
- (instancetype)initWithInserts:(NSArray<NSIndexPath *> *)inserts
|
|
|
|
|
deletes:(NSArray<NSIndexPath *> *)deletes
|
|
|
|
|
updates:(NSArray<NSIndexPath *> *)updates
|
|
|
|
|
moves:(NSArray<IGListMoveIndexPath *> *)moves
|
|
|
|
|
oldIndexPathMap:(NSMapTable<id<NSObject>, NSIndexPath *> *)oldIndexPathMap
|
|
|
|
|
newIndexPathMap:(NSMapTable<id<NSObject>, NSIndexPath *> *)newIndexPathMap;
|
|
|
|
|
|
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
|