title: Core Data Parent-Child UITableView Relationship
body: <p>I am attempting to create a Parent-Child Core Data relationship. <code>TableViewA</code> contains car manufacturers and <code>TableViewB</code> contains cars made by the selected manufacturer. <strong>I want to filter the cars so that they will only show up in their manufacturers table view.</strong> I have this working fairly well, but when I add a car in one manufacturers table view, it shows up correctly in the manufacturers table view in which it was added, but in all of the other manufacturers table views the cells only display their default label ("cell") for the number of cars added in other manufacturers table views. This is my <code>tableView:cellForRowAtIndexPath:</code> method for <code>TableViewB</code>:</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
      static NSString *CellIdentifier = @"Car Cell";
      UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
      if (cell == nil) {
          cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier];
      }
  
  
      Car *car = [self.fetchedResultsController objectAtIndexPath:indexPath];
  
      if (car.manufacturer == self.currentManufacturer) {
  
              cell.textLabel.text = car.carName;
      }
  
      return cell;
  }
  </code></pre>
  
  <p>Please explain how to properly filter in Core Data.</p>