IGListAdapterMoveDelegate
Objective-C
@protocol IGListAdapterMoveDelegate <NSObject>
Swift
protocol ListAdapterMoveDelegate : NSObjectProtocol
Conform to IGListAdapterMoveDelegate to receive interactive reordering requests.
-
Asks the delegate to move a section object as the result of interactive reordering.
Declaration
Objective-C
- (void)listAdapter:(nonnull IGListAdapter *)listAdapter moveObject:(nonnull id)object from:(nonnull NSArray *)previousObjects to:(nonnull NSArray *)objects;Swift
func listAdapter(_ listAdapter: IGListAdapter, move object: Any, from previousObjects: [Any], to objects: [Any])Parameters
listAdapterThe list adapter sending this information.
objectthe object that was moved
previousObjectsThe array of objects prior to the move.
objectsThe array of objects after the move.
View on GitHub