
And I'm happy to report the word lookup is mighty quick with no special optimization techniques necessary. (Hooray! Less work for me.) Still have a little to do before it's ready for release.
As you probably already know, searches are not case-sensitive. (This is due to how the underlying SQLite database on the iPhone works. But it's kind of handy regardless.) When I construct a word completion list would you prefer "case correctness" or "no repeats"?
In the above screenshot you'll notice the name "Nathan" is all lowercase. This is because I created the entire dictionary with all words all lowercase. This was to screen out repeats (e.g., "THE", "The" and "the"). Repeats are not good because they waste screen space and selecting any of them will return all of the different versions anyway.
But then we lose the capitalizations of proper names, like Nathan and God.
Still, I'm leaning towards "no repeats" -- what do you think? I could also make the words all uppercase if you prefer that more. Let me know!