I am not sure whether this is a bug in the method sectionIndexTitleForSectionName: of NSFetchedResultsController or my own fault somewhere else, however my workaround consists in overriding it and performing what the documentation says it does internally:
- (NSString *)sectionIndexTitleForSectionName:(NSString *)sectionName
{
NSString *outName;
if ( [sectionName length] )
outName = [[sectionName substringToIndex:1] uppercaseString];
else
outName = [super sectionIndexTitleForSectionName:sectionName];
return outName;
}This produces the expected output.
--
You received this message because you are subscribed to the Google Groups "Brighton iPhone Creators" group.
To post to this group, send email to brighton-iph...@googlegroups.com.
To unsubscribe from this group, send email to brighton-iphone-cr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/brighton-iphone-creators?hl=en.