leah/PullToRefresh — Issue #12: Image transform in scrollView:didScroll not called
Author: jmstone617
Created: 2011-11-16 21:16:15+00:00
State: open

I'm new to github, so pardon the noob-ness. This implementation is fantastic and I had to do very little code changing to make it work. One thing I did notice was that, in the current implementation, my code was never entering the else if (isDragging && scrollView.contentOffset.y < 0) of the scrollView:didScroll delegate call. Thus, my arrow was never changing and my text was never updating. However, since a scrollView inherently has a dragging BOOL property, I changed the line to else if (scrollView.dragging && scrollView.contentOffset.y < 0), and it works perfectly. Now, this may be because I am not using this in a class that subclasses PullRefreshTableViewController because it's subclassing of UITableViewController didn't work for my scenario. Anyways, I hope this helps!