[ASRangeController] Ensure that visibilityDidChange: is always called on app launch for all initial cells.

This commit is contained in:
Scott Goodson
2016-03-11 17:18:32 -08:00
parent e3dde87bfd
commit cdd1bd1e39
7 changed files with 21 additions and 14 deletions

View File

@@ -89,7 +89,8 @@ static BOOL _enableHitTestDebug = NO;
return self;
}
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wobjc-missing-super-calls"
#pragma mark - ASDisplayNode Overrides
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
@@ -207,6 +208,8 @@ static BOOL _enableHitTestDebug = NO;
withEvent:event];
}
#pragma clang diagnostic pop
- (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer
{
// If we're interested in touches, this is a tap (the only gesture we care about) and passed -hitTest for us, then no, you may not begin. Sir.