Created
March 2, 2011 19:50
-
-
Save naan/851597 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (autoRefreshTimer == nil && interval) { | |
NSTimeInterval diff = interval - [now timeIntervalSinceDate:lastRefreshDate]; | |
if (diff <= 0) { | |
if (!IS_IPAD) { | |
[self forceRefresh]; | |
} | |
} | |
else { | |
[self setNextTimer:diff]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment