title: How to load a custom UITableViewCell without using nib name
body: <p>I'm designing my application,As per the design tableView should load any custom cell based on the reusable identifier.</p>
  
  <p>From webservice tableView will get will get list of reusable identifiers and  tableView will load all cells as per the identifier.</p>
  
  <p>Here is my <code>cellForRowAtIndex</code> method </p>
  
  <pre><code>-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
  
      UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:[_cardsIdentifier objectAtIndex:indexPath.row]];//_cardsIdentifier is array of identifiers 
      if (cell == nil) {
          // Load the top-level objects from the custom cell XIB.
          NSArray *topLevelObjects = [[NSBundle mainBundle] loadNibNamed:[_cardsIdentifier objectAtIndex:indexPath.row] owner:self options:nil];
          // Grab a pointer to the first object (presumably the custom cell, as that's all the XIB should contain).
          cell = [topLevelObjects objectAtIndex:0];
      }
      NSLog(@"%@",cell.reuseIdentifier);
      cell.selectionStyle = UITableViewCellSelectionStyleNone;
  
  
      return cell;
  }
  </code></pre>
  
  <p>As one can see i'm using same identifier for nib name as well.
  It will work fine when reusable identifier and nib name is same,but it will crash if nib name is different  from reusable identifier.</p>
  
  <p><strong>Can anyone suggest how can i remove this dependency of nib name.</strong></p>