Skip to content

Instantly share code, notes, and snippets.

@naan
Created March 20, 2011 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naan/878595 to your computer and use it in GitHub Desktop.
Save naan/878595 to your computer and use it in GitHub Desktop.
diff --git a/Classes/Controllers/Lists/ListTimelineDataSource.m b/Classes/Contro
index 582a74e..cf0530f 100644
--- a/Classes/Controllers/Lists/ListTimelineDataSource.m
+++ b/Classes/Controllers/Lists/ListTimelineDataSource.m
@@ -64,6 +64,10 @@
controller.enableReloadButton = NO;
+ for (int i = 0; i < 10; ++i) {
+ [timeline removeStatusAtIndex:0];
+ }
+
twitterClient = [[TwitterClient alloc] initWithTarget:self action:@selector
uint64_t sinceId = [timeline statusAtIndex:0].tweetId;
[twitterClient getListStatus:list maxId:0 sinceId:sinceId];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment