mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
37 lines
1.2 KiB
Objective-C
37 lines
1.2 KiB
Objective-C
//
|
|
// ASCollectionLayoutContext+Private.h
|
|
// Texture
|
|
//
|
|
// Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
|
// Changes after 4/13/2017 are: 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/ASCollectionLayoutContext.h>
|
|
|
|
@class ASCollectionLayoutCache;
|
|
@protocol ASCollectionLayoutDelegate;
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface ASCollectionLayoutContext (Private)
|
|
|
|
@property (nonatomic, readonly) Class<ASCollectionLayoutDelegate> layoutDelegateClass;
|
|
@property (nonatomic, weak, readonly) ASCollectionLayoutCache *layoutCache;
|
|
|
|
- (instancetype)initWithViewportSize:(CGSize)viewportSize
|
|
initialContentOffset:(CGPoint)initialContentOffset
|
|
scrollableDirections:(ASScrollDirection)scrollableDirections
|
|
elements:(ASElementMap *)elements
|
|
layoutDelegateClass:(Class<ASCollectionLayoutDelegate>)layoutDelegateClass
|
|
layoutCache:(ASCollectionLayoutCache *)layoutCache
|
|
additionalInfo:(nullable id)additionalInfo;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|
|
#endif
|