I am trying to filter a table view of contacts (name and phone number) using the phone pad (old dumb-phone sms-style mapping from digits to characters) where a search for, say, "3862" could yield 3862, dumb, duna,fvoc... and so on. I have implemented the numeric search just fine using NSRange, but how would I go about the character search?
For clarification, the mappings are:
2 -> (abc),
3 -> (def),
4 -> (ghi),
...
9 -> (wxyz).