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>
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
An object representing a move between indexes.
|
|
|
|
|
*/
|
|
|
|
|
@interface IGListMoveIndex : NSObject
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
An index in the old collection.
|
|
|
|
|
*/
|
2016-11-16 23:15:55 +00:00
|
|
|
@property (nonatomic, assign, readonly) NSInteger from;
|
2016-09-07 22:37:59 +00:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
An index in the new collection.
|
|
|
|
|
*/
|
2016-11-16 23:15:55 +00:00
|
|
|
@property (nonatomic, assign, readonly) NSInteger to;
|
2016-09-07 22:37:59 +00:00
|
|
|
|
2016-11-15 19:32:54 +00:00
|
|
|
/**
|
|
|
|
|
:nodoc:
|
|
|
|
|
*/
|
2016-09-07 22:37:59 +00:00
|
|
|
- (instancetype)init NS_UNAVAILABLE;
|
2016-11-15 19:32:54 +00:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
:nodoc:
|
|
|
|
|
*/
|
2016-09-07 22:37:59 +00:00
|
|
|
+ (instancetype)new NS_UNAVAILABLE;
|
|
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|