Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

Add a delegate method to determine whether touches are allowed to pass through or not. #158

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

fallenleafLu
Copy link

Add a delegate method to determine whether touches are allowed to pass through or not.

UIScrollView *scrollView = (UIScrollView *)self.superview;

if (![scrollView dzn_isTouchAllowedToPassThrough:self]) {
return self;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure ![scrollView dzn_isTouchAllowedToPassThrough:self] correct?
Shouldn't we check for a true statement?

@fallenleafLu
Copy link
Author

Thanks for your review. @dzenbot

@dzenbot
Copy link
Owner

dzenbot commented Apr 27, 2016

There are conflicts, with master.

# Conflicts:
#	Source/UIScrollView+EmptyDataSet.m
@fallenleafLu
Copy link
Author

Sorry for not noticing conflicts. Resolved.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants