Skip to content
UITableView offering suggestions from a custom dictionary as user types text in UITextField
Find file
Latest commit 69b961c Jan 13, 2013 @keyf Merge pull request #3 from crsantos/reversecompatibility-ios4_5
Reverse compatibility for iOS4 and iOS5
Failed to load latest commit information.
AutocompletionTableView_Demo AutocompletionTableView* on delegate methods signature Jan 7, 2013
Classes Merge pull request #3 from crsantos/reversecompatibility-ios4_5 Jan 13, 2013
LICENSE reame & license Mar 13, 2012



It's a very simple UITableView subclass which let's you to add real-time suggestion list for UITextView based on the custom dictionary.

Step 1: init an instance of AutocompletionTableView with "initWithTextField:inViewController:withOptions:".
Step 2: set its dictionary of suggestion strings
Step 3: set it as the target for UIControlEventEditingChanged event for your UITextField:
[YOUR_textField addTarget:YOUR_INSTANCE_of_AutocompletionTableView action:@selector(textFieldValueChanged:) forControlEvents:UIControlEventEditingChanged];
Step 4: Enjoy! ;)
Step 5: let me know what do you think at

Something went wrong with that request. Please try again.