mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-08 13:42:51 +00:00
Remove unused initializer in ASTableNode (#3268)
This commit is contained in:
parent
c325ae2cb5
commit
c642771e1c
@ -64,10 +64,6 @@
|
|||||||
@property (nonatomic, strong) _ASTablePendingState *pendingState;
|
@property (nonatomic, strong) _ASTablePendingState *pendingState;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface ASTableView ()
|
|
||||||
- (instancetype)_initWithFrame:(CGRect)frame style:(UITableViewStyle)style dataControllerClass:(Class)dataControllerClass;
|
|
||||||
@end
|
|
||||||
|
|
||||||
@implementation ASTableNode
|
@implementation ASTableNode
|
||||||
|
|
||||||
#pragma mark Lifecycle
|
#pragma mark Lifecycle
|
||||||
|
@ -382,7 +382,7 @@
|
|||||||
CGSize tableViewFinalSize = CGSizeMake(100, 500);
|
CGSize tableViewFinalSize = CGSizeMake(100, 500);
|
||||||
// Width and height are swapped so that a later size change will simulate a rotation
|
// Width and height are swapped so that a later size change will simulate a rotation
|
||||||
ASTestTableView *tableView = [[ASTestTableView alloc] __initWithFrame:CGRectMake(0, 0, tableViewFinalSize.height, tableViewFinalSize.width)
|
ASTestTableView *tableView = [[ASTestTableView alloc] __initWithFrame:CGRectMake(0, 0, tableViewFinalSize.height, tableViewFinalSize.width)
|
||||||
style:UITableViewStylePlain];
|
style:UITableViewStylePlain];
|
||||||
|
|
||||||
ASTableViewFilledDataSource *dataSource = [ASTableViewFilledDataSource new];
|
ASTableViewFilledDataSource *dataSource = [ASTableViewFilledDataSource new];
|
||||||
|
|
||||||
@ -475,7 +475,7 @@
|
|||||||
{
|
{
|
||||||
CGSize tableViewSize = CGSizeMake(100, 500);
|
CGSize tableViewSize = CGSizeMake(100, 500);
|
||||||
ASTestTableView *tableView = [[ASTestTableView alloc] __initWithFrame:CGRectMake(0, 0, tableViewSize.width, tableViewSize.height)
|
ASTestTableView *tableView = [[ASTestTableView alloc] __initWithFrame:CGRectMake(0, 0, tableViewSize.width, tableViewSize.height)
|
||||||
style:UITableViewStylePlain];
|
style:UITableViewStylePlain];
|
||||||
ASTableViewFilledDataSource *dataSource = [ASTableViewFilledDataSource new];
|
ASTableViewFilledDataSource *dataSource = [ASTableViewFilledDataSource new];
|
||||||
|
|
||||||
tableView.asyncDelegate = dataSource;
|
tableView.asyncDelegate = dataSource;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user