title: reloadData Crashing iOS App
body: <p>I'm doing a Twitter request for API data with:</p>
  
  <pre><code>TWRequest *postRequest = [[TWRequest alloc] initWithURL:[NSURL URLWithString:@"http://search.twitter.com/search.json?q=a2zwedding&amp;include_entities=true"] parameters:nil requestMethod:TWRequestMethodGET];
  </code></pre>
  
  <p>then I'm getting all processing the request with:</p>
  
  <pre><code>[postRequest performRequestWithHandler:^(NSData *responseData, NSHTTPURLResponse *urlResponse, NSError *error) {
      // NSString *output;
      NSArray *results;
  
      if ([urlResponse statusCode] == 200) {
          NSError *jsonParsingError = nil;
          NSDictionary *publicTimeline = [NSJSONSerialization JSONObjectWithData:responseData options:0 error:&amp;jsonParsingError];
          results = [publicTimeline objectForKey:@"results"]; 
      }
      [self performSelectorOnMainThread:@selector(populateTable:) withObject:results waitUntilDone:YES];        
  }];
  </code></pre>
  
  <p>I'm then trying to display the "results" in a UITableView. My delegate and datasource are the same view controller that is processing the JSON data. My datasource method of:</p>
  
  <pre><code>- (NSInteger)tableView:(UITableView*)tableView numberOfRowsInSection:(NSInteger)section
  </code></pre>
  
  <p>is returning zero if I try to do the count of my array because my JSON parsing isn't finished when this gets called.  If I "return 1" with this method, it properly displays one of the results from my Twitter request.  However, if I use reloadData my app crashes.  I cannot get it to delay the count.  Any ideas?</p>