mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-15 10:53:27 +00:00
# Conflicts: # AsyncDisplayKit.xcodeproj/project.pbxproj # AsyncDisplayKit.xcodeproj/xcshareddata/xcschemes/AsyncDisplayKit.xcscheme # Source/ASDisplayNode.mm # Source/ASEditableTextNode.h # Source/ASImageNode.mm # Source/ASMapNode.h # Source/ASMapNode.mm # Source/Base/ASAssert.m # Source/Details/ASPhotosFrameworkImageRequest.h # Source/Details/ASPhotosFrameworkImageRequest.m # Source/Layout/ASLayoutElement.mm
30 lines
687 B
Objective-C
30 lines
687 B
Objective-C
//
|
|
// ASCollectionLayoutState+Private.h
|
|
// Texture
|
|
//
|
|
// Copyright (c) Pinterest, Inc. All rights reserved.
|
|
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
|
|
#ifndef MINIMAL_ASDK
|
|
|
|
#import <AsyncDisplayKit/ASCollectionLayoutState.h>
|
|
#import <AsyncDisplayKit/ASPageTable.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface ASCollectionLayoutState (Private)
|
|
|
|
/**
|
|
* Remove and returns layout attributes for unmeasured elements that intersect the specified rect
|
|
*
|
|
* @discussion This method is atomic and thread-safe
|
|
*/
|
|
- (nullable ASPageToLayoutAttributesTable *)getAndRemoveUnmeasuredLayoutAttributesPageTableInRect:(CGRect)rect;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|
|
#endif
|