Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- }
- - (IBAction) sendButtonTapped: (id)sender {
- loadingActionSheet = [[UIActionSheet alloc] initWithTitle:@"Posting To Twitter..." delegate:nil
- cancelButtonTitle:nil destructiveButtonTitle:nil otherButtonTitles:nil];
- [loadingActionSheet showInView:self.view];
- [_engine sendUpdate: [NSString stringWithFormat:@"I'm %@ and feeling %@ about it.",
- [activities objectAtIndex:[tweetPicker selectedRowInComponent:0]],
- [feelings objectAtIndex:[tweetPicker selectedRowInComponent:1]]]];
- }
- - (void) status_updateCallback: (NSData *) content {
- [loadingActionSheet dismissWithClickedButtonIndex:0 animated:YES];
- [loadingActionSheet release];
- NSLog(@"%@",[[NSString alloc] initWithData:content encoding:NSASCIIStringEncoding]);
- }
Add Comment
Please, Sign In to add comment