commented some stuff out

This commit is contained in:
Luke Parham 2015-12-15 15:30:27 -06:00
parent eeb49859f0
commit 17c985da38
3 changed files with 16 additions and 2 deletions

View File

@ -52,6 +52,12 @@ UIViewController *_viewController;
ASDisplayNodeAssertNotNil(viewControllerBlock, @"should initialize with a valid block that returns a UIViewController");
_viewController = viewControllerBlock();
NSLog(@"%d", _viewController.view.gestureRecognizers.count);
// for (UIGestureRecognizer *recognizer in [_viewController.view gestureRecognizers]) {
//
// }
_viewControllerNode = [[ASDisplayNode alloc] initWithViewBlock:^UIView *{
return _viewController.view;
} didLoadBlock:didLoadBlock];

View File

@ -26,6 +26,16 @@
return self;
}
- (void)viewDidAppear:(BOOL)animated;
{
}
- (void)viewWillAppear:(BOOL)animated;
{
}
- (void)viewDidLoad {
[super viewDidLoad];

View File

@ -97,8 +97,6 @@ static NSUInteger kNumberOfImages = 14;
}];
return node;
//[[ImageCellNode alloc] initWithImage:_sections[indexPath.section][indexPath.item]];
}
- (ASCellNode *)collectionView:(ASCollectionView *)collectionView nodeForSupplementaryElementOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPath