title: "no index path for table cell being reused" issue for custom cell
body: <p>I am having a Tableview within that i have a custom cell and within that i have another tableview. In this <code>cellForRowAtIndexPath</code> method i am getting this error <code>no index path for table cell being reused</code> and <code>cell gets disappeared after scroll</code>. Is this indexpath issue or cellidentifier issue?</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
  static NSString *CellIdentifier = @"CustomCell";
  CustomCell *customCell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath];     
  //    __block CustomCell *customCell = (CustomCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];
  //    if (customCell == nil)
  //    {
  //        customCell = [[[CustomCell alloc] initWithFrame:CGRectMake(0, 0, 320, 416)] autorelease];
  //   
  // }
  [customCell prepareCell:arrCategory];
  return customCell;
  }
  -(void)prepareCell:(NSArray *)arrCategory
  {
        if(mutArr != nil) {
          [mutArr removeAllObjects];
          mutArr = nil;
          [mutArr release];
   }
   mutArr = [[NSMutableArray alloc] arrCategory];
   [tblCusom reloadData];
  }
  </code></pre>
  
  <p>I go through <a href="https://stackoverflow.com/questions/12772197/what-is-the-meaning-of-the-no-index-path-for-table-cell-being-reused-message-i">this SO ques</a> but i am not using the method used in this question. So what could be the problem I am not able to trace it. Also not found the same issue after googling</p>