mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
[ASCollectionView] Add Support for Interactive Reordering (#2221)
[ASTableView] Add Support for Interactive Reordering
This commit is contained in:
@@ -51,6 +51,11 @@ extern NSArray *ASFindElementsInMultidimensionalArrayAtIndexPaths(NSMutableArray
|
||||
*/
|
||||
extern NSArray *ASIndexPathsForMultidimensionalArrayAtIndexSet(NSArray *multidimensionalArray, NSIndexSet *indexSet);
|
||||
|
||||
/**
|
||||
* Moves the object at `sourceIndexPath` to `destinationIndexPath`.
|
||||
*/
|
||||
extern void ASMoveElementInTwoDimensionalArray(NSMutableArray *mutableArray, NSIndexPath *sourceIndexPath, NSIndexPath *destinationIndexPath);
|
||||
|
||||
/**
|
||||
* Return the index paths of the given multidimensional array that are present in the given index paths array.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user