mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Add a ASTableNode class, similar to ASCollectionNode
This commit is contained in:
21
AsyncDisplayKit/ASTableNode.h
Normal file
21
AsyncDisplayKit/ASTableNode.h
Normal file
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// ASTableNode.h
|
||||
// AsyncDisplayKit
|
||||
//
|
||||
// Created by Steven Ramkumar on 11/4/15.
|
||||
// Copyright © 2015 Facebook. All rights reserved.
|
||||
//
|
||||
|
||||
#import <AsyncDisplayKit/AsyncDisplayKit.h>
|
||||
|
||||
/**
|
||||
* ASTableNode is a node based class that wraps an ASTableView. It can be used
|
||||
* as a subnode of another node, and provide room for many (great) features and improvements later on.
|
||||
*/
|
||||
@interface ASTableNode : ASDisplayNode
|
||||
|
||||
- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style asyncDataFetching:(BOOL)asyncDataFetchingEnabled NS_DESIGNATED_INITIALIZER;
|
||||
|
||||
@property (nonatomic, readonly) ASTableView *view;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user