I'm would like to create a table that displays the date in full for the section headers, eg. @"EEEE dd MMMM yyyy". Then in the the fast user index on the righthand side use the @"MMM" value to provide quick access to a given month.
I can get the index to work using the default value of first character from the c开发者_如何学JAVAore data. So the fetchedResultsController is working and pulling in the right data. I've checked the documentation for any suggestions to override this method. It says it can be done but stops short of showing how it's done.
Any suggestions?
The documentation page for the UITableViewDatasource has the method you are looking for.
- (NSArray *)sectionIndexTitlesForTableView:(UITableView *)tableView;
精彩评论