title: NSInternalInconsistencyException', reason: 'Could not load NIB in bundle while fetching 500+ records from the address book database
body: <p>I am sorry if this question is getting repeated, but I could not help it since I have tried every possible solution but nothing worked and hence I am asking this question.</p>
  
  <p>I am loading almost 500 records in my table view from the address book database at one go. If the records are few ,say 50 or 100, my table is displayed without any problem. But when the number of record goes say 300+, I get a crash which says:</p>
  
  <blockquote>
    <p>*** Terminating app due to uncaught exception  'NSInternalInconsistencyException', reason: 'Could not load NIB in
    bundle: 'NSBundle
    
    (loaded)' with name 'GroupmemberCell''</p>
  </blockquote>
  
  <p>I have read some other forms which have solutions like checking in the <code>Build Phase</code> for the file or checking in the package content of the iOS app. I have tried everything and nothing works the file is present in the build phase and also gets added in the package content of my app file. Also I have removed these files once, i.e I deleted them entirely and created a new class of UITableViewCell, but then too the crash was present.</p>
  
  <p>GroupmemberCell is an xib which I have added in my table view.Below is the code snippet from the cell for row datasource method.</p>
  
  <pre>
  static NSString *CellIdentifier = @"Cell";
      GroupmemberCell   *cell = (GroupmemberCell*) [tableView dequeueReusableCellWithIdentifier:CellIdentifier];;
      if (cell == nil)
      {
  
          NSArray *cellxibfilepath = [[NSBundle mainBundle]loadNibNamed:@"GroupmemberCell" owner:self options:nil];
  
          if  (cellxibfilepath)
          {
  
          for(id cellObjects in cellxibfilepath)
          {
              if ([cellObjects isKindOfClass:[UITableViewCell class]])
              {
                  cell = (GroupmemberCell*)cellObjects;
              }
  
          }
          }
      }
  
  </pre>
  
  <p>What could be the problem here like the same code works for a record set of 100 without any crash but will give a crash if i fetch a set of 500+ records and display them in the table.</p>
  
  <p>To fetch the records i am not giving any calls in the background, I have tried once but then too the crash was not solved.</p>
  
  <p>My Thoughts: I think I am loading lots of data at once which might be giving few issues in the main thread for UI creation, because I do get the data in my arrays and I check them and then only I give command to reload the table.</p>
  
  <pre>
   if (tableReloadArray.count!=0) {
               [objtable reloadData];
          }
  </pre>
  
  <p>I have seen in many apps that they load 1000+ data lightning speed - how are they doing it? What is their approach or is there any best practice that I am missing, please guide me out.</p>