Created
October 24, 2012 06:19
-
-
Save gonzalezreal/3944335 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
- (BOOL)loadNewTweetsWithCompletionHandler:(void (^)(NSError *error))completionHandler | |
{ | |
if (self.loading) { | |
return NO; | |
} | |
SLRequest *request = [self requestForNewTweets]; | |
[self loadTweetsWithRequest:request completionHandler:completionHandler]; | |
return YES; | |
} | |
- (BOOL)loadOldTweetsWithCompletionHandler:(void (^)(NSError *error))completionHandler | |
{ | |
if (self.loading) { | |
return NO; | |
} | |
SLRequest *request = [self requestForOldTweets]; | |
[self loadTweetsWithRequest:request completionHandler:completionHandler]; | |
return YES; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment