开发者

How do you override sectionIndexTitlesForTableView using core data?

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;

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜