From 17c985da38e92d4bc0a0a5a5eccd0d1aeb4022e7 Mon Sep 17 00:00:00 2001 From: Luke Parham Date: Tue, 15 Dec 2015 15:30:27 -0600 Subject: [PATCH] commented some stuff out --- AsyncDisplayKit/ASCellNode.m | 6 ++++++ .../Sample/ImageViewController.m | 10 ++++++++++ .../Sample/ViewController.m | 2 -- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/AsyncDisplayKit/ASCellNode.m b/AsyncDisplayKit/ASCellNode.m index 211b127bf8..85c7f52047 100644 --- a/AsyncDisplayKit/ASCellNode.m +++ b/AsyncDisplayKit/ASCellNode.m @@ -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]; diff --git a/examples/CollectionViewWithViewControllerCells/Sample/ImageViewController.m b/examples/CollectionViewWithViewControllerCells/Sample/ImageViewController.m index 77b35b8a32..3c6cd1c7e2 100644 --- a/examples/CollectionViewWithViewControllerCells/Sample/ImageViewController.m +++ b/examples/CollectionViewWithViewControllerCells/Sample/ImageViewController.m @@ -26,6 +26,16 @@ return self; } +- (void)viewDidAppear:(BOOL)animated; +{ + +} + +- (void)viewWillAppear:(BOOL)animated; +{ + +} + - (void)viewDidLoad { [super viewDidLoad]; diff --git a/examples/CollectionViewWithViewControllerCells/Sample/ViewController.m b/examples/CollectionViewWithViewControllerCells/Sample/ViewController.m index f8bb7a9044..fc0991458d 100644 --- a/examples/CollectionViewWithViewControllerCells/Sample/ViewController.m +++ b/examples/CollectionViewWithViewControllerCells/Sample/ViewController.m @@ -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