samedi 25 avril 2015

NSSortDescriptor in Chinese... how?


I am adding Chinese support to my application.

I have this line that sorts english and other languages

    NSSortDescriptor *sortByItem =  [NSSortDescriptor sortDescriptorWithKey:@"countryName" ascending:YES 
selector:@selector(localizedStandardCompare:)];

But this line appears not to be sorting in Chinese.

How do I modify this line so it will sort in Chinese?


Aucun commentaire:

Enregistrer un commentaire