Perhaps you are missing it?
... else { self.routineTableView.separatorStyle = UITableViewCellSeparatorStyleSingleLine;
EDIT : You need this, but not only that ... According to Apple Documentation:
The value of this property is one of the delimiter style constants described in the UITableViewCell Reference Reference class. UITableView uses this property to set the separator style in the cell returned by the delegate in tableView:cellForRowAtIndexPath:
This means that the style will not change for already loaded cells. Just scrolling through the table to make cells redraw, separators should appear ...
Then you need to:
which is not easy to do with NSFetchedResultsController , you should study its delegate to solve ... or change direction, for example, hide tableView until you get the result ...
EDIT 2 . You can also simply add this:
[self.tableView reloadData]
but this is a dirty workaround that will simply reload the full tableView, losing most of the benefits of NSFetchedResultsController ...
source share