diff --git a/Classes/PullRefreshTableViewController.m b/Classes/PullRefreshTableViewController.m index e5ecf96..b373376 100644 --- a/Classes/PullRefreshTableViewController.m +++ b/Classes/PullRefreshTableViewController.m @@ -129,6 +129,8 @@ - (void)startLoading { } - (void)stopLoading { + isLoading = NO; + // Hide the header [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDelegate:self]; @@ -140,8 +142,6 @@ - (void)stopLoading { } - (void)stopLoadingComplete:(NSString *)animationID finished:(NSNumber *)finished context:(void *)context { - isLoading = NO; - // Reset the header refreshLabel.text = self.textPull; refreshArrow.hidden = NO;