mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-07 13:09:49 +00:00
26 lines
653 B
Objective-C
26 lines
653 B
Objective-C
//
|
|
// ASCollectionNode.h
|
|
// AsyncDisplayKit
|
|
//
|
|
// Created by Scott Goodson on 9/5/15.
|
|
// Copyright (c) 2015 Facebook. All rights reserved.
|
|
//
|
|
|
|
#import <AsyncDisplayKit/AsyncDisplayKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
/**
|
|
* ASCollectionNode is a node based class that wraps an ASCollectionView. It can be used
|
|
* as a subnode of another node, and provide room for many (great) features and improvements later on.
|
|
*/
|
|
@interface ASCollectionNode : ASDisplayNode
|
|
|
|
- (instancetype)initWithCollectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
|
|
|
|
@property (nonatomic, readonly) ASCollectionView *view;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|