Created
June 23, 2014 11:53
-
-
Save mikeabdullah/1098b19db126922dd2ff to your computer and use it in GitHub Desktop.
Apple's default implementation for numberOfRowsInSection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section | |
{ | |
id <NSFetchedResultsSectionInfo> sectionInfo = [self.fetchedResultsController sections][section]; | |
return [sectionInfo numberOfObjects]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment