Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText{
- if((searchType == SEARCH_AS_YOU_TYPE) && ([searchText length] >= 2)){
- NSString *myKeyword = [NSString stringWithFormat:@"%@", searchText];
- [self search:myKeyword];
- [myTableView reloadData];
- }
- }
- SELECT WORD_ID, DEFIN, PINYIN, SIMP, TRAD from WORDS where DEFIN LIKE "%to dog %" OR DEFIN LIKE "%dog" OR DEFIN LIKE "%dog%" ORDER BY DEFIN LIMIT 50
- [self performSelectorInBackground:@selector(threadedFetch) withObject:nil];
Add Comment
Please, Sign In to add comment