title: iOS TableView loads data very slowly
body: <p>I'm working on a project that parse data from web service and shows in a table view. Everything is ok, but I'm not satisfied with the performance of  tableview. After parsing data form web I called reload data to show the data, But it is not showing cells immediately. It shows the data after 10/15 seconds later. I've checked all data's are loaded before I called reload data. And the strange thing is that it shows the cells immediately if I try to drag the table.</p>
  
  <p>Any idea? </p>
  
  <p><strong>Update</strong> </p>
  
  <pre><code>-(void)receivedCategories:(NSMutableArray *)categoryItems{
    [self.spinner stopAnimating];
    self.categories=categoryItems;
    if (self.tableView!=nil) {
      [self.tableView reloadData];
    }
  }
  
  - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
  {
    return 1;
  }
  
  - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
  {
    return [self.categories count];
  }
  
  - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
    static NSString *CellIdentifier = @"CategoryCell";
    CategoryCell    *cell           = [self.tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    cell.category                   = [self.categories objectAtIndex:indexPath.row];
    return cell;
  }
  </code></pre>
  
  <p>CategoryCell.m</p>
  
  <pre><code>@implementation CategoryCell
  
  - (void)setCategory:(Category *)category
  {
    [self.categoryTitle setText:category.title ];
    [self.categorySubTitle setText:category.description];
  }
  
  @end
  </code></pre>