mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-09 06:00:43 +00:00
29 lines
597 B
Objective-C
29 lines
597 B
Objective-C
//
|
|
// ASTableNode.m
|
|
// AsyncDisplayKit
|
|
//
|
|
// Created by Steven Ramkumar on 11/4/15.
|
|
// Copyright © 2015 Facebook. All rights reserved.
|
|
//
|
|
|
|
#import "ASTableNode.h"
|
|
|
|
@implementation ASTableNode
|
|
|
|
- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style asyncDataFetching:(BOOL)asyncDataFetchingEnabled
|
|
{
|
|
if (self = [super initWithViewBlock:^UIView *{
|
|
return [[ASTableView alloc] initWithFrame:frame style:style asyncDataFetching:asyncDataFetchingEnabled];
|
|
}]) {
|
|
return self;
|
|
}
|
|
return nil;
|
|
}
|
|
|
|
- (ASTableView *)view
|
|
{
|
|
return (ASTableView *)[super view];
|
|
}
|
|
|
|
@end
|