Sunday, 15 August 2010

ios - Obj-C, match Strings with a specific Emoji using NSPredicate -


I'm trying to search for a title in my database that contains the "word" that starts with emoji Please inquire. I tried to find a solution online, but I could not find anything.

Here I mean:

  NSPredicate * titlePred = [Nominate with BigFormat: @ "Title matches [C]% @", [NSString stringWithFormat: @ ". * \\ b% @. * ", Query]]; Basically if I search Emoji X, then it should match all the titles with Emoji X in the beginning of any title terms. 


No comments:

Post a Comment