Skip to content

Instantly share code, notes, and snippets.

@maddox
Created August 10, 2008 22:31
Show Gist options
  • Save maddox/4784 to your computer and use it in GitHub Desktop.
Save maddox/4784 to your computer and use it in GitHub Desktop.
NSURL *jsonURL = [NSURL URLWithString:[NSString stringWithFormat:@"http://search.twitter.com/search.json?q=%@", (NSString *)[appDelegate.trends objectAtIndex:indexPath.row]]];
NSString *jsonData = [[NSString alloc] initWithContentsOfURL:jsonURL];
self.tweetView.jsonArray = [[jsonData JSONValue] objectForKey:@"results"];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment