NSDiacriticInsensitivePredicateOption not supported by Realm
I have DictObject with a text property that contains some Vietnamese letters, such as "Sống". @interface DictObj : RLMObject @property NSString *text;//Ex: sống @end I would like to use BEGINSWITH[cd] to perform a diacritic insensitive search, but Realm does not currently support it: RLMResults *fetchedResults = [DictObj objectsInRealm:realm where:@"text BEGINSWITH[cd] %@",inputText]; I can use kCFStringTransformStripDiacritics to transform my input text, but I don't know how to perform that string transformation when the string is already stored in Realm file. Realm Objective-C v2.5.0 added