Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert gesture recognizer to use only discrete states and fix bug that occurs when dragging while reloading #3

Merged
merged 2 commits into from Feb 17, 2012

Conversation

peyton
Copy link
Contributor

@peyton peyton commented Feb 17, 2012

Hey,

Noticed a bug: when the recognizer is in its loading state, dragging the table view will trigger another simultaneous reload. The gesture recognizer should fail when a load is in progress.

While fixing this I cleaned up the touch handling, converting it to use only states reserved for discrete recognizers instead of its oddball discrete/continuous hybrid set of states used previously.

Cheers!

@pier-oliviert
Copy link
Owner

Does look very good. I appreciate all the work you did.

I indeed rushed the code on the state handling and your code seems much cleaner. I need to get out for about an hour, when I'll ge back, I'll test the PR on my end and merge it if everything works fine.

Thank you very much

@peyton
Copy link
Contributor Author

peyton commented Feb 17, 2012

No prob. Using gesture recognizers for this is a great idea btw.

Didn't mean for that last rewrite commit to sneak on here. I'm going to try to move it to a "development" branch so it doesn't get caught up in this pull request.

pier-oliviert added a commit that referenced this pull request Feb 17, 2012
Convert gesture recognizer to use only discrete states and fix bug that occurs when dragging while reloading
@pier-oliviert pier-oliviert merged commit d4c3828 into pier-oliviert:master Feb 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants