mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
make additional private headers actually private; import all public headers in AsyncDisplayKit.h
This commit is contained in:
52
AsyncDisplayKit/Private/ASMultidimensionalArrayUtils.h
Normal file
52
AsyncDisplayKit/Private/ASMultidimensionalArrayUtils.h
Normal file
@@ -0,0 +1,52 @@
|
||||
/* Copyright (c) 2014-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>
|
||||
|
||||
#import <AsyncDisplayKit/ASBaseDefines.h>
|
||||
|
||||
|
||||
/**
|
||||
* Helper class for operation on multidimensional array, where the object of array may be an object or an array.
|
||||
*/
|
||||
|
||||
ASDISPLAYNODE_EXTERN_C_BEGIN
|
||||
|
||||
/**
|
||||
* Deep muutable copy of multidimensional array.
|
||||
* It will recursively do the multiple copy for each subarray.
|
||||
*/
|
||||
extern NSObject<NSCopying> *ASMultidimensionalArrayDeepMutableCopy(NSObject<NSCopying> *obj);
|
||||
|
||||
/**
|
||||
* Insert the elements into the mutable multidimensional array at given index paths.
|
||||
*/
|
||||
extern void ASInsertElementsIntoMultidimensionalArrayAtIndexPaths(NSMutableArray *mutableArray, NSArray *indexPaths, NSArray *elements);
|
||||
|
||||
/**
|
||||
* Delete the elements of the mutable multidimensional array at given index paths
|
||||
*/
|
||||
extern void ASDeleteElementsInMultidimensionalArrayAtIndexPaths(NSMutableArray *mutableArray, NSArray *indexPaths);
|
||||
|
||||
/**
|
||||
* Find the elements of the mutable multidimensional array at given index paths.
|
||||
*/
|
||||
extern NSArray *ASFindElementsInMultidimensionalArrayAtIndexPaths(NSMutableArray *mutableArray, NSArray *indexPaths);
|
||||
|
||||
/**
|
||||
* Return all the index paths of mutable multidimensional array at given index set, in ascending order.
|
||||
*/
|
||||
extern NSArray *ASIndexPathsForMultidimensionalArrayAtIndexSet(NSArray *MultidimensionalArray, NSIndexSet *indexSet);
|
||||
|
||||
/**
|
||||
* Return all the index paths of mutable multidimensional array, in ascending order.
|
||||
*/
|
||||
extern NSArray *ASIndexPathsForMultidimensionalArray(NSArray *MultidimensionalArray);
|
||||
|
||||
|
||||
ASDISPLAYNODE_EXTERN_C_END
|
||||
Reference in New Issue
Block a user