Add a ASTableNode class, similar to ASCollectionNode

This commit is contained in:
Steven Ramkumar
2015-11-04 17:52:16 -08:00
parent 7b112a2dcd
commit 3018030c00
3 changed files with 57 additions and 0 deletions

View 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