Closed nestserau closed 11 years ago
The code itself it's fine, but as I've said already a number of times, this is a design choice, the animation is left to the caller. This is the same as the original UIRefreshControl, or the one used in the Twitter app for example
I had an issue that, when I had a populated table-view and then I started refreshing the list from code, refresh control wasn't visible. So the user wasn't aware of some network process to go behind the scenes. Now, when code refresh is invoked, the scrollView is scrolled with animation in way that refresh control is visible during refresh operation. Not sure though, it's the best way of achieving this. You probably will find a better way as an author of the component.