iphone - NSFetchedResultsController sectionIndexTitles wrong not english letters -


i have data base of artists russian names on russian language.
following method show correct russian letter

- (nsstring *)tableview:(uitableview *)tableview titleforheaderinsection:(nsinteger)section {     id <nsfetchedresultssectioninfo> sectioninfo = [[self.fetchedresultscontroller sections] objectatindex:section];     return [sectioninfo name]; } 

but when want show index line:

- (nsarray *)sectionindextitlesfortableview:(uitableview *)tableview {     return [self.fetchedresultscontroller sectionindextitles]; } 

section letters "?" how fix this?

need subclass nsfetchedresultscontroller override - (nsstring *)sectionindextitleforsectionname:(nsstring *)sectionname { //or substring return sectionname; }


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

javascript - Preserving URL fragment through CAS sign-on -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -