Guest User

Untitled

a guest
Jul 20th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. }
  2. - (IBAction) sendButtonTapped: (id)sender {
  3.  
  4. loadingActionSheet = [[UIActionSheet alloc] initWithTitle:@"Posting To Twitter..." delegate:nil
  5. cancelButtonTitle:nil destructiveButtonTitle:nil otherButtonTitles:nil];
  6. [loadingActionSheet showInView:self.view];
  7.  
  8.  
  9.  
  10. [_engine sendUpdate: [NSString stringWithFormat:@"I'm %@ and feeling %@ about it.",
  11. [activities objectAtIndex:[tweetPicker selectedRowInComponent:0]],
  12. [feelings objectAtIndex:[tweetPicker selectedRowInComponent:1]]]];
  13.  
  14.  
  15.  
  16. }
  17. - (void) status_updateCallback: (NSData *) content {
  18. [loadingActionSheet dismissWithClickedButtonIndex:0 animated:YES];
  19. [loadingActionSheet release];
  20. NSLog(@"%@",[[NSString alloc] initWithData:content encoding:NSASCIIStringEncoding]);
  21. }
Add Comment
Please, Sign In to add comment