I’m creating a simple application, first time working with SQLite.
-
I want a regular search box and to display results as a user types (is this possible)
-
And how to make the search to be able to support misspellings, if i wrote “Canda” to find me “Canada”,”Candy” or whatever i have in the DB similar to the search
any help or literature will be helpful
Concerning (1), you should take a look at UISearchDisplayController, in short it’ll allow you to easily search and display results as you type.
For (2), my first thought would be to perhaps represent the “likely” misspellings in your data model? In addition it would be interesting to also augment this list of misspellings – Apple’s own SMS app is doing something like this, so that it learns from your misspellings as you go along.