views:

143

answers:

1

Hi,

I am having problems with NSFechtedResultsController and using the created sectionIndex(data is coming from a CoreData storage). It seems to mix up the indexTitle versus the sectionName e.g. sectionName is "Ä" and sectionIndex is "Ƒ" (0x0191) regarding the unicode char. This seems to be the case with all special chars. this can lead to crashes in case the user is able to use the special chars.

Is this is a known problem or does anyone know a workaround? Apple Addressbook app seems to collect all special cases under sectionIndex "#". Wondering if I should write a ton of code to workaround or if someone already did it? or just get rid of the section index.

thanks a lot. Jens

A: 

Answering my own question: using UILocalizedIndexedCollation seems to be a possible solution. Trying to get it playing nice with core data and NSFetchedResultsController now.

--Jens

BitController
Well its not really answered. Getting UILocalizedIndexedCollation playing nice with NSFechtedResultsController and CoreData does not seem to be that easy.
BitController
Found this thread: http://stackoverflow.com/questions/2167857/non-us-characters-in-section-headers-for-a-uitableviewSo for just "FirstLetterOfName" Sections there is a solution. But I still dont know how to solve it for complete sectionInfoNames (e.g. Österreich).
BitController