title: Do not delete cell using the TableView section
body: <p>Hello I'm having trouble deleting a cell / record after it implemented the section in tableview. </p>
  
  <p>See the code</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
      static NSString *CellIdentifier = @"celula";
      UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
  
      alimento *p = [sessaoAlimento objectAtIndex:indexPath.section];
      crudAlimento *obj = [[crudAlimento alloc] init];
      NSArray *arrayAlime = [obj listarAlimentoSessao:[p tipoAlimento] filtro:srBar.text];
      alimento *objAlimento = [arrayAlime objectAtIndex:indexPath.row];
  
      NSString *registro = [NSString stringWithFormat:@"%@ - %@", [objAlimento alimentoid], [objAlimento nomeAlimento]];
  
      [[cell textLabel]setText:registro];
  
      return cell; 
  }
  </code></pre>
  
  <p>detail is that I can not use object id to pass to the method</p>
  
  <pre><code>- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
  {
      crudAlimento *deleteAlimento = [[crudAlimento alloc] init];
      alimento *objUsuario = [arrayAlimento objectAtIndex:indexPath.row];
      [deleteAlimento deletar:objUsuario];
      [self carregaListaSessao:@""];//com sessao
  }
  </code></pre>