Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit 17c985d

Browse files
committed
commented some stuff out
1 parent eeb4985 commit 17c985d

3 files changed

Lines changed: 16 additions & 2 deletions

File tree

AsyncDisplayKit/ASCellNode.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ - (instancetype)initWithViewControllerBlock:(ASDisplayNodeViewControllerBlock)vi
5252
ASDisplayNodeAssertNotNil(viewControllerBlock, @"should initialize with a valid block that returns a UIViewController");
5353

5454
_viewController = viewControllerBlock();
55+
56+
NSLog(@"%d", _viewController.view.gestureRecognizers.count);
57+
// for (UIGestureRecognizer *recognizer in [_viewController.view gestureRecognizers]) {
58+
//
59+
// }
60+
5561
_viewControllerNode = [[ASDisplayNode alloc] initWithViewBlock:^UIView *{
5662
return _viewController.view;
5763
} didLoadBlock:didLoadBlock];

examples/CollectionViewWithViewControllerCells/Sample/ImageViewController.m

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@ - (instancetype)initWithImage:(UIImage *)image {
2626
return self;
2727
}
2828

29+
- (void)viewDidAppear:(BOOL)animated;
30+
{
31+
32+
}
33+
34+
- (void)viewWillAppear:(BOOL)animated;
35+
{
36+
37+
}
38+
2939
- (void)viewDidLoad {
3040
[super viewDidLoad];
3141

examples/CollectionViewWithViewControllerCells/Sample/ViewController.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@ - (ASCellNode *)collectionView:(ASCollectionView *)collectionView nodeForItemAtI
9797
}];
9898

9999
return node;
100-
101-
//[[ImageCellNode alloc] initWithImage:_sections[indexPath.section][indexPath.item]];
102100
}
103101

104102
- (ASCellNode *)collectionView:(ASCollectionView *)collectionView nodeForSupplementaryElementOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPath

0 commit comments

Comments
 (0)