I’m using a TextField where the user types a phone number. When the TextField changes, it should check if this number is already in the phonebook and display the name.
So far, my only way is to parse all names and number in a Dict and read it from there.
Is there a simpler, more efficient and sophisticated way to do that?
It wouldn’t be hard to rip through the user’s address book and create a phone number to person mapping. The Address Book Programming Guide lays out all the information on how the framework works.