I'm attaching an image because this is kinda hard to explain, I've also mocked up what I actually want it to look like. I'm going to try to explain it to so that others might find the question.

Maybe you've run up against this before and know a fix?

Here is the image of what I have alongside a mockup of what I want:
![enter image description here](https://i.stack.imgur.com/pJ8jT.png)

On the left, what I have, the items in the table are not separated by separator lines but the empty lines cells are separated. Ideally, the empty cells would not be shown and the table would just end letting the background show and the items in the table would have separators between their cells. 

This is the corresponding code:

```
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{

    // Return the number of sections.
    return 1;
}

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath {

    if (editingStyle == UITableViewCellEditingStyleDelete) {
        // Delete the row from the data source

        NSMutableArray *withoutThing = [NSMutableArray arrayWithArray:self.containerOfLists];
        [withoutThing removeObjectAtIndex:indexPath.row];
        self.containerOfLists = withoutThing;

        [[NSUserDefaults standardUserDefaults] setObject:self.containerOfLists forKey:@"list of lists"];
        [[NSUserDefaults standardUserDefaults] synchronize];
        [self.tableView reloadData];

    }
    else if (editingStyle == UITableViewCellEditingStyleInsert) {
        // Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view
    }
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{

    // Return the number of rows in the section.
    return [self.containerOfLists count];
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    static NSString *CellIdentifier = @"ListCell";
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath];

    cell.textLabel.text = self.containerOfLists[indexPath.row];
    return cell;
}

```