Skip to content

Commit

Permalink
Added connectionStarted: delegate method
Browse files Browse the repository at this point in the history
  • Loading branch information
stevestreza authored and alexrepty committed Mar 19, 2010
1 parent 077d925 commit 5615799
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions MGTwitterEngine.m
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,11 @@ - (void)parsedObject:(NSDictionary *)dictionary forRequest:(NSString *)requestId

#pragma mark TCDownload delegate methods

-(void)downloadDidBegin:(TCDownload *)download{
if ([self _isValidDelegateForSelector:@selector(connectionStarted:)])
[_delegate connectionStarted:[[download userInfo] objectForKey:@"identifier"]];
}

-(void)downloadFinished:(TCDownload *)download{
[self connectionDidFinishLoading:(MGTwitterHTTPURLConnection*)download];
}
Expand Down

0 comments on commit 5615799

Please sign in to comment.