Skip to content

Commit

Permalink
Merge pull request #6 from adityamatharu/master
Browse files Browse the repository at this point in the history
-[NSCachedURLResponse allHeaderFields]: unrecognized selector
  • Loading branch information
blakewatters committed Oct 16, 2012
2 parents 92eded3 + 9403d97 commit 9a5613b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Code/RKAbstractTableController.m
Expand Up @@ -1110,7 +1110,8 @@ - (BOOL)pullToRefreshDataSourceIsLoading:(UIGestureRecognizer *)gesture

- (NSDate *)lastUpdatedDate
{
NSCachedURLResponse *response = [[NSURLCache sharedURLCache] cachedResponseForRequest:self.request];
NSCachedURLResponse *cachedresponse = [[NSURLCache sharedURLCache] cachedResponseForRequest:self.request];
NSHTTPURLResponse *response = (NSHTTPURLResponse *)[cachedresponse response];
return [[(NSHTTPURLResponse *)response allHeaderFields] objectForKey:@"Date"];
}

Expand Down

0 comments on commit 9a5613b

Please sign in to comment.