I can never remember how to do this. Here’s the method provided by the Master / Detail template when using Core Data:
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { return [[self.fetchedResultsController sections] count]; }
I can never remember how to do this. Here’s the method provided by the Master / Detail template when using Core Data:
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { return [[self.fetchedResultsController sections] count]; }
If you enjoy my content, please consider supporting me on Ko-fi. In return you can browse this whole site without any pesky ads! More details here.