mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-16 00:43:14 +00:00
23 lines
669 B
Objective-C
23 lines
669 B
Objective-C
//
|
|
// ASIndexedNodeContext.h
|
|
// AsyncDisplayKit
|
|
//
|
|
// Created by Huy Nguyen on 2/28/16.
|
|
// Copyright © 2016 Facebook. All rights reserved.
|
|
//
|
|
|
|
#import <AsyncDisplayKit/ASDataController.h>
|
|
#import <AsyncDisplayKit/ASDimension.h>
|
|
|
|
@interface ASIndexedNodeContext : NSObject
|
|
|
|
@property (nonatomic, readonly, strong) ASCellNodeBlock nodeBlock;
|
|
@property (nonatomic, readonly, strong) NSIndexPath *indexPath;
|
|
@property (nonatomic, readonly, assign) ASSizeRange constrainedSize;
|
|
|
|
- (instancetype)initWithNodeBlock:(ASCellNodeBlock)nodeBlock
|
|
indexPath:(NSIndexPath *)indexPath
|
|
constrainedSize:(ASSizeRange)constrainedSize;
|
|
|
|
@end
|