mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 11:20:18 +00:00
commented some stuff out
This commit is contained in:
parent
eeb49859f0
commit
17c985da38
@ -52,6 +52,12 @@ UIViewController *_viewController;
|
|||||||
ASDisplayNodeAssertNotNil(viewControllerBlock, @"should initialize with a valid block that returns a UIViewController");
|
ASDisplayNodeAssertNotNil(viewControllerBlock, @"should initialize with a valid block that returns a UIViewController");
|
||||||
|
|
||||||
_viewController = viewControllerBlock();
|
_viewController = viewControllerBlock();
|
||||||
|
|
||||||
|
NSLog(@"%d", _viewController.view.gestureRecognizers.count);
|
||||||
|
// for (UIGestureRecognizer *recognizer in [_viewController.view gestureRecognizers]) {
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
|
||||||
_viewControllerNode = [[ASDisplayNode alloc] initWithViewBlock:^UIView *{
|
_viewControllerNode = [[ASDisplayNode alloc] initWithViewBlock:^UIView *{
|
||||||
return _viewController.view;
|
return _viewController.view;
|
||||||
} didLoadBlock:didLoadBlock];
|
} didLoadBlock:didLoadBlock];
|
||||||
|
|||||||
@ -26,6 +26,16 @@
|
|||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)viewDidAppear:(BOOL)animated;
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)viewWillAppear:(BOOL)animated;
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
- (void)viewDidLoad {
|
- (void)viewDidLoad {
|
||||||
[super viewDidLoad];
|
[super viewDidLoad];
|
||||||
|
|
||||||
|
|||||||
@ -97,8 +97,6 @@ static NSUInteger kNumberOfImages = 14;
|
|||||||
}];
|
}];
|
||||||
|
|
||||||
return node;
|
return node;
|
||||||
|
|
||||||
//[[ImageCellNode alloc] initWithImage:_sections[indexPath.section][indexPath.item]];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (ASCellNode *)collectionView:(ASCollectionView *)collectionView nodeForSupplementaryElementOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPath
|
- (ASCellNode *)collectionView:(ASCollectionView *)collectionView nodeForSupplementaryElementOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPath
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user