Â
  if (_dataSource) {
    _dataSource.query = query.asLiveQuery;
    // _dataSource.tableView = self.contactsTableView;
  }
- (UITableViewCell *)couchTableSource:(CBLUITableSource *)source cellForRowAtIndexPath:(NSIndexPath *)indexPath {
  DRContactsTableViewCell *cell = (DRContactsTableViewCell *)[source.tableView
                          dequeueReusableCellWithIdentifier:CellIdentifier
                          forIndexPath:indexPath];
  CBLQueryRow *row = [source rowAtIndex:indexPath.row];
  DRContacts *contactCell = [DRContacts modelForDocument:row.document];
  cell.contactName.text = contactCell.nom;
  return cell;
}
  [self.tableView registerNib:[UINib nibWithNibName:@"DRContactsTableViewCell" bundle:nil] forCellReuseIdentifier:@"contactCell"];
  Â
  CBLQuery *query = [DRContacts queryContactsBy:self.currentOfferID error:&error];
  Â
  if (_dataSource) {
    _dataSource.query = query.asLiveQuery;
    _dataSource.tableView = self.tableView;
 Â
  }
--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobile-couchbase/nODTLsaMRfY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/475988AD-171B-476E-911A-753824BF330A%40mooseyard.com.
For more options, visit https://groups.google.com/d/optout.